From acc7bf1269e0d732f406e7caae5b8ffd9425efc7 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Tue, 22 Dec 2020 19:07:35 -0800 Subject: [PATCH] Log the error number when failing to open sbbsecho.ini --- exec/load/fido_syscfg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/load/fido_syscfg.js b/exec/load/fido_syscfg.js index 1cdbd251cb..54313ec3bb 100644 --- a/exec/load/fido_syscfg.js +++ b/exec/load/fido_syscfg.js @@ -40,7 +40,7 @@ function SBBSEchoCfg () ecfg = new File(file_cfgname(system.ctrl_dir, 'sbbsecho.ini')); if (!ecfg.open("r")) - throw new Error("Unable to open '"+ecfg.name+"'"); + throw new Error(ecfg.error + " opening '"+ecfg.name+"'"); this.inbound = backslash(ecfg.iniGetValue(null, "Inbound", "../fido/nonsecure")); if (this.inbound !== null) -- GitLab