1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Fixed various bugs

This commit is contained in:
Laurent Cozic
2017-07-11 00:17:03 +01:00
parent 4adc9b30fb
commit 4fa65de31d
6 changed files with 15 additions and 8 deletions

View File

@ -193,6 +193,9 @@ class OneDriveApi {
this.logger().info(error);
await time.msleep(1000 * i);
continue;
} else if (error.code == 'itemNotFound' && method == 'DELETE') {
// Deleting a non-existing item is ok - noop
return;
} else {
error.request = method + ' ' + url + ' ' + JSON.stringify(query) + ' ' + JSON.stringify(data) + ' ' + JSON.stringify(options);
throw error;