commit 6eff72ba8aa14b580e6d8b4d56ae7eb40dd60d94
parent d127b1bcb73bcefc59c167c84aaadee0847f893d
Author: Beni Cherniavsky-Paskin <beni.cherniavsky@gmail.com>
Date: Wed, 22 Jul 2015 23:34:23 +0300
Since we probably can't give informative traceback, tell user how to obtain one.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
@@ -2333,6 +2333,7 @@ MathJax.Hub = {
var message = "Error: "+err.message+"\n";
if (err.sourceURL) {message += "\nfile: "+err.sourceURL}
if (err.line) {message += "\nline: "+err.line}
+ message += "\n[debugging tips: use unpacked/MathJax.js, inspect `MathJax.Hub.lastError` in the console]";
script.MathJax.error = MathJax.OutputJax.Error.Jax(message,script);
//