Update onedrive.d

* Correct output that should be just debug only
This commit is contained in:
abraunegg 2024-03-31 10:37:37 +11:00
parent c1a619f82f
commit ef4e990ef6

View file

@ -1147,8 +1147,9 @@ class OneDriveApi {
auto errorArray = splitLines(e.msg);
string errorMessage = errorArray[0];
addLogEntry("Handling Curl expection");
addLogEntry(to!string(response));
// Debug output only
addLogEntry("Handling this specific Curl expection", ["debug"]);
addLogEntry(to!string(response), ["debug"]);
// what is contained in the curl error message?
if (canFind(errorMessage, "Couldn't connect to server on handle") || canFind(errorMessage, "Couldn't resolve host name on handle") || canFind(errorMessage, "Timeout was reached on handle")) {