Skip to content

Commit

Permalink
Update onedrive.d
Browse files Browse the repository at this point in the history
* Correct output that should be just debug only
  • Loading branch information
abraunegg committed Mar 30, 2024
1 parent c1a619f commit ef4e990
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/onedrive.d
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit ef4e990

Please sign in to comment.