https://gitlab.synchro.net/sbbs/sbbs/-/commit/d018900280f493eaac076e3d
Modified Files:
exec/load/acmev2.js binkp.js fido.js fido_syscfg.js fidocfg.js frame.js ftn_nodelist.js ftp.js graphic.js http.js json-chat.js mouse_getkey.js recordfile.js require.js sprite.js tree.js
Log Message:
Throw Error objects, not Strings.
Error objects are much easier to trace back to the offending line of code.
This was a pretty automated search/replace, so in some cases, it's a commented-out instance that was changed. I did not convert *all* the load/*.js files.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net