From 94016447b117a9bd9b257cf1b7a22ea799cb0319 Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 25 Nov 2016 12:30:19 -0800 Subject: [PATCH] Show report dialog on client side JS issues --- piston/static/js/register.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/piston/static/js/register.js b/piston/static/js/register.js index 1d82659..bf0a961 100644 --- a/piston/static/js/register.js +++ b/piston/static/js/register.js @@ -45,12 +45,14 @@ function onSubmit(e) { document.querySelector(".approval-form").submit(); }).catch((e) => { var exception = Raven.captureException(e); + exception.showReportDialog(); console.log(e, exception); }); }); } }).catch((e) => { var exception = Raven.captureException(e); + exception.showReportDialog(); console.log(e, exception); }); }