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

All: Fixed tests and minor fixes

This commit is contained in:
Laurent Cozic
2017-12-31 15:23:05 +01:00
parent e19c26fdd1
commit 6d0f60d9a1
3 changed files with 4 additions and 2 deletions

View File

@ -216,7 +216,7 @@ class OneDriveApi {
this.logger().info(error);
await time.sleep((i + 1) * 3);
continue;
} else if (error && error.error && error.error.code === 'resourceModified') {
} else if (error && (error.code === 'resourceModified' || (error.error && error.error.code === 'resourceModified'))) {
// NOTE: not tested, very hard to reproduce and non-informative error message, but can be repeated
// Error: ETag does not match current item's value