Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-16 15:25:36 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-02-19 15:21:14 -0500
commit4e3a86866acf00f4e58c4c3ab61bfc8cd9b4667a (patch)
tree8bab6ec11f188bb0aadbc96623c4b8f79f192aeb /src
parent0b433e86f4497fa285bcf8a37d0dcd39bfa09c7e (diff)
downloadtame-4e3a86866acf00f4e58c4c3ab61bfc8cd9b4667a.tar.gz
tame-4e3a86866acf00f4e58c4c3ab61bfc8cd9b4667a.tar.bz2
tame-4e3a86866acf00f4e58c4c3ab61bfc8cd9b4667a.zip
progtest: Display reader errors in browser
Diffstat (limited to 'src')
-rw-r--r--src/current/scripts/entry-form.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/current/scripts/entry-form.js b/src/current/scripts/entry-form.js
index 2f1f728..56bf7a4 100644
--- a/src/current/scripts/entry-form.js
+++ b/src/current/scripts/entry-form.js
@@ -1591,7 +1591,8 @@ var client = ( function()
{
const yaml = ev.target.result;
- runner( yaml );
+ runner( yaml )
+ .catch( e => alert( e.message ) );
// run for remaining files
runYamlTestCases( files, runner );