• ecWebv4 "TypeError: thread is undefined"

    From Nigel Reed@VERT to GitLab note in main/sbbs on Thursday, April 24, 2025 12:16:15
    https://gitlab.synchro.net/main/sbbs/-/issues/823#note_7130

    Interesting that it doesn't show the line number where the error is. Is there a way to force that?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Thursday, April 24, 2025 13:40:45
    https://gitlab.synchro.net/main/sbbs/-/issues/823#note_7134

    I suspect there's a catch() clause in of the ecWebv4 scripts that just calls `log(LOG_ERR, ...)` with the exception which converts to a string without the details (file and line number), though those details are available as properties of the exception object and could be logged.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Thursday, April 24, 2025 13:42:09
    https://gitlab.synchro.net/main/sbbs/-/issues/823#note_7135

    Or maybe it's just a warning level log message. Most of the `log()` calls in ecWebv4 are INFO or WARNING level.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Thursday, April 24, 2025 14:19:43
    https://gitlab.synchro.net/main/sbbs/-/issues/823#note_7137

    That helps.

    web 0018 /sbbs/webv4/pages/001-forum.ssjs:393 thread is undefined

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net