Return remote name when 'case-insensitive match' (#670)

If there is a case-insensitive match error, also return the remote name from the response
This commit is contained in:
Jon Mills 2019-09-23 15:35:18 +08:00 committed by abraunegg
parent fd4547376c
commit 3aa4d4965e

View file

@ -2367,6 +2367,7 @@ final class SyncEngine
// They are the "same" name wise but different in case sensitivity
log.error("ERROR: Current directory has a 'case-insensitive match' to an existing directory on OneDrive");
log.error("ERROR: To resolve, rename this local directory: ", absolutePath(path));
log.error("ERROR: Remote OneDrive directory: ", response["name"].str);
log.log("Skipping: ", absolutePath(path));
return;
}