From Newsgroup: alt.bbs.synchronet
To: Michael Long
Re: Javascript error message handling
By: Michael Long to alt.bbs.synchronet on Thu Oct 08 2020 06:09 am
From Newsgroup: alt.bbs.synchronet
Is there a way from javascript to handle the error like the C function errormsg, where it writes it to the consoles with red "The sysop has been notified" and puts it in the log?
There's no single function that does that in Sync-JHS, but this would be very similar:
alert(log(LOG_ERR, "Some error happened") + ", sysop has been notified");
digital man
Rush quote #11:
Struck between the eyes by the big time world, walking uneasy streets
Norco, CA WX: 68.1øF, 74.0% humidity, 2 mph NNW wind, 0.00 inches rain/24hrs --- Synchronet 3.18c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113