From 34f3b65ca2002a9fc59735698e492bbda86d734a Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Thu, 20 Jun 2019 09:27:19 +0200 Subject: [PATCH] Add error info to ticket preview --- scipost/static/scipost/ticket-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost/static/scipost/ticket-preview.js b/scipost/static/scipost/ticket-preview.js index 1cbef9045..0dd9f07de 100644 --- a/scipost/static/scipost/ticket-preview.js +++ b/scipost/static/scipost/ticket-preview.js @@ -38,7 +38,7 @@ $('#runPreviewButton').on('click', function(){ MathJax.Hub.Queue(["Typeset",MathJax.Hub, preview]); }, error: function(data) { - alert("An error has occurred while processing the text."); + alert("An error has occurred while processing the text:\n\n." + data); } }); $('#runPreviewButton').hide(); -- GitLab