From 4d1e8bb193a7315a8fcfe1e09c33befdee660b7d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 18 Jul 2018 15:33:44 +0530 Subject: add throw after message() --- js/Branching/GOTO.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/Branching/GOTO.js') diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index 2b3370a1..8d660d2f 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -41,6 +41,7 @@ function GOTO() { this.tagvis = int(this.tagvis); if (((this.tagvis<1)||(this.tagvis>3))) { message("Tag Visibility must be between 1 and 3"); + throw "user error"; var ok = false; } if (ok) { -- cgit