Browse Source

Throw proper error

Fabian 5 years ago
parent
commit
3b86889a99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/jor1k.js

+ 1 - 1
lib/jor1k.js

@@ -46,7 +46,7 @@ message.Abort = function()
 {
     if(DEBUG)
     {
-        throw "abort";
+        throw new Error("message.Abort()");
     }
 };