Skip to content

Commit 688b5cf

Browse files
committed
Print response when there's an error.
1 parent b72e8cc commit 688b5cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function checkStatus() {
7575
obj = JSON.parse( response );
7676
} catch(e) {
7777
// If response wasn't JSON something is wrong.
78-
alert(e);
78+
alert( "Error: " + e + "\nResponse: " + response );
7979
return;
8080
}
8181

0 commit comments

Comments
 (0)