Skip to content

JengaDev v1.0.37

Choose a tag to compare

@antonynjagi antonynjagi released this 30 Oct 14:33
· 12 commits to main since this release

Fixed

  • Likely root cause of "starting a service kills the whole daemon" on some Windows 11 machines. The daemon always runs with no console allocated - on some machines that leaves process.stdout/stderr as invalid handles, where a console.log/console.error write throws EBADF. A few places used console.error as a bare Promise .catch() handler (e.g. in the "start Caddy" route) - if console.error itself threw there, it became a brand new unhandled rejection, and Node treats those as fatal by default: the entire process exits immediately and silently, taking every other running service down with it and leaving every subsequent dashboard request failing with a connection error. Both console.log and console.error are now wrapped so neither can ever throw.

    Update: this turned out not to be the actual cause - the crash logging added below revealed the real bug (a pidusage dependency issue, not a JengaDev bug) in v1.0.38. This fix was still worth keeping, just wasn't the fix.

Added

  • Crash logging. If the daemon or tray app ever does crash from something unexpected, it now writes the full error to logs\daemon_crash.log or logs\tray_crash.log instead of vanishing with no trace - no more digging through Windows Event Viewer to find out what happened.

Using JengaDev on Linux? This release (and its version number) only covers the Windows installer - Linux doesn't ship as a downloadable release asset. If you already have it installed, just git pull in your jengadev clone to get the latest Linux-side fixes; for a fresh install, see the Linux section of the README (git clone + cd jengadev/linux + ./install.sh).