Skip to content
Snippets Groups Projects
Commit 43166bca authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

throw Error's not Strings, makes debugging nested scripts *much* easier

parent 1fb1af9d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -102,7 +102,7 @@ new function() {
var f = new File(file_cfgname(system.ctrl_dir, "sbbs.ini"));
if (!f.open("r", true))
throw("Unable to open "+f.name);
throw new Error("Unable to open "+f.name);
this.bbs = {};
this.ftp = {};
this.web = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment