1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Handle strange OneDrive sync error

This commit is contained in:
Laurent Cozic
2017-10-26 22:57:49 +01:00
parent bd8926958f
commit 2900603a8a
7 changed files with 106 additions and 22 deletions

View File

@@ -46,6 +46,7 @@ class Logger {
if (object instanceof Error) {
output = object.toString();
if (object.code) output += "\nCode: " + object.code;
if (object.headers) output += "\nHeader: " + JSON.stringify(object.headers);
if (object.request) output += "\nRequest: " + object.request;
if (object.stack) output += "\n" + object.stack;
} else {