diff --git a/src/static/js/json2.js b/src/static/js/json2.js index 663f932cd..d72b4be98 100644 --- a/src/static/js/json2.js +++ b/src/static/js/json2.js @@ -465,7 +465,7 @@ if (!JSON) } // If the text is not JSON parseable, then a SyntaxError is thrown. - throw new SyntaxError('JSON.parse'); + throw new SyntaxError('JSON.parse: ' + text); }; } }());