From 6eff72ba8aa14b580e6d8b4d56ae7eb40dd60d94 Mon Sep 17 00:00:00 2001 From: Beni Cherniavsky-Paskin Date: Wed, 22 Jul 2015 23:34:23 +0300 Subject: [PATCH] Since we probably can't give informative traceback, tell user how to obtain one. --- unpacked/MathJax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js index 01d5b81d9..63e98565e 100644 --- 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); //