Skip to content

Commit

Permalink
Merge branch 'master' into reduce-processing-overhead-if-not-debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
abraunegg committed Oct 7, 2024
2 parents 59007d5 + dba409a commit 31c1d0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ A special thankyou to all those who helped with testing and providing feedback d
* Fixed how the application handles 429 response codes from OneDrive (critical update)
* Fixed building on Alpine Linux under Docker
* Fixed how the 'username' is determined from the running process for logfile naming
* Fixed file handling when a failed download has occured due to exiting via CTRL-C
* Fixed file handling when a failed download has occurred due to exiting via CTRL-C
* Fixed an unhandled exception when OneDrive throws an error response on initialising
* Fixed the handling of moving files into a skipped .folder when skip_dotfiles = true
* Fixed the regex parsing of response URI to avoid potentially generating a bad request to OneDrive, leading to a 'AADSTS9002313: Invalid request. Request is malformed or invalid.' response.
Expand Down
2 changes: 1 addition & 1 deletion src/curlEngine.d
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ CurlEngine getCurlInstance() {
// Is this engine stopped?
if (curlEngine.http.isStopped) {
// return a new curl engine as a stopped one cannot be used
if (debugLogging) {addLogEntry("CurlEngine was in a stoppped state (not usable) - constructing a new CurlEngine instance", ["debug"]);}
if (debugLogging) {addLogEntry("CurlEngine was in a stopped state (not usable) - constructing a new CurlEngine instance", ["debug"]);}
return new CurlEngine; // Constructs a new CurlEngine with a fresh HTTP instance
} else {
// return an existing curl engine
Expand Down
2 changes: 1 addition & 1 deletion src/webhook.d
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class OneDriveWebhook {

private void logSubscriptionError(OneDriveException e) {
// Log a message to the GUI only
addLogEntry("ERROR: An issue has occured with webhook subscriptions: " ~ e.error["error"]["message"].str, ["notify"]);
addLogEntry("ERROR: An issue has occurred with webhook subscriptions: " ~ e.error["error"]["message"].str, ["notify"]);
// Use the standard OneDrive API logging method
displayOneDriveErrorMessage(e.msg, getFunctionName!({}));
}
Expand Down

0 comments on commit 31c1d0c

Please sign in to comment.