diff --git a/CliClient/package-lock.json b/CliClient/package-lock.json index d5a77dbfe..b0bba8645 100644 --- a/CliClient/package-lock.json +++ b/CliClient/package-lock.json @@ -1,6 +1,6 @@ { "name": "joplin", - "version": "0.10.53", + "version": "0.10.55", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/CliClient/package.json b/CliClient/package.json index fd28bfa06..ad5e24ab2 100644 --- a/CliClient/package.json +++ b/CliClient/package.json @@ -18,7 +18,7 @@ ], "owner": "Laurent Cozic" }, - "version": "0.10.53", + "version": "0.10.55", "bin": { "joplin": "./main.js" }, diff --git a/ReactNativeClient/lib/logger.js b/ReactNativeClient/lib/logger.js index 9a00c0a4f..899f32a82 100644 --- a/ReactNativeClient/lib/logger.js +++ b/ReactNativeClient/lib/logger.js @@ -45,6 +45,8 @@ class Logger { if (typeof object === 'object') { if (object instanceof Error) { output = object.toString(); + if (object.code) output += "\nCode: " + object.code; + if (object.request) output += "\nRequest: " + object.request; if (object.stack) output += "\n" + object.stack; } else { output = JSON.stringify(object);