From e697303743144a06e6af04dd6f186a1f997c91ed Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sat, 21 Nov 2015 00:45:03 +0100 Subject: [PATCH] Properly log errors to javascript console --- data/js/tomahawk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/js/tomahawk.js b/data/js/tomahawk.js index ad6d2b0f9..c51503185 100644 --- a/data/js/tomahawk.js +++ b/data/js/tomahawk.js @@ -49,7 +49,7 @@ RSVP.on('error', function (reason) { resolverName = Tomahawk.resolver.instance.settings.name + " - "; } if (reason) { - console.error(resolverName + 'Uncaught error:' + JSON.stringify(reason)); + console.error(resolverName + 'Uncaught error:', reason); } else { console.error(resolverName + 'Uncaught error: error thrown from RSVP but it was empty'); }