diff --git a/data/js/tomahawk.js b/data/js/tomahawk.js index 62e105c77..dd02c56b8 100644 --- a/data/js/tomahawk.js +++ b/data/js/tomahawk.js @@ -790,7 +790,7 @@ Tomahawk.PluginManager = { } else { Tomahawk.reportScriptJobResults({ requestId: requestId, - error: "Scripts need to return objects for requests: methodName: " + methodName + " params: " + JSON.encode(params) + error: "Scripts need to return objects for requests: methodName: " + methodName + " params: " + JSON.stringify(params) }); } }, function (error) {