diff --git a/scipost/static/scipost/ticket-preview.js b/scipost/static/scipost/ticket-preview.js
index 1cbef9045e0be37c62a59aa0a2a3d95527536995..0dd9f07de86f3a61d0997ca0b7975fbb14427829 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();