summaryrefslogtreecommitdiff
path: root/src/static/js/json2.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/json2.js')
-rw-r--r--src/static/js/json2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/json2.js b/src/static/js/json2.js
index 663f932c..d72b4be9 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);
};
}
}());