BBS:      TELESC.NET.BR
Assunto:  exec/json-service.js xtrn/bublbogl/game.js xtrn/dicewarz2/diceobj.js g
De:       Rob Swindell (on Debian Linux)
Data:     Wed, 8 Apr 2026 21:49:20 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/6dac8fe20430eb0e30416a6a
Modified Files:
	exec/json-service.js xtrn/bublbogl/game.js xtrn/dicewarz2/diceobj.js game.js service.js
Log Message:
Replace `for each` in dicewarz2, bublbogl, json-service.js

Replace non-standard `for each(var x in obj)` with compatible
`for(var key in obj)` loops in xtrn/dicewarz2 and xtrn/bublbogl.

Also fix json-service.js Module.init() catch block: `module.name`
was an invalid reference (should be `this.name`), causing the error
handler itself to throw, silently crashing the service on repeated
restarts with no log output. Added logging of the caught exception.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]