add uncaught exception handling
This commit is contained in:
parent
6c4a81e679
commit
8c670a92b5
2 changed files with 10 additions and 0 deletions
|
|
@ -1337,4 +1337,13 @@ process.on('SIGHUP', function(sig, code) {
|
|||
processExit(code);
|
||||
});
|
||||
|
||||
process.on('unhandledRejection', (reason, p) => {
|
||||
logger.log({unhandled_rejection: reason, promise: p});
|
||||
});
|
||||
|
||||
process.on('uncaughtException', (err) => {
|
||||
logger.log({uncaught_exception: err});
|
||||
// process.exit(1);
|
||||
});
|
||||
|
||||
processLoad();
|
||||
|
|
|
|||
1
notes.md
1
notes.md
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
# CAM
|
||||
|
||||
* `P` background worker to speculatively generate topo maps (and maybe pre-slicing)
|
||||
* `B` fails in pancaking (clone) when there are no sliced layers (like z bottom too high)
|
||||
* `B` linear finishing should extend beyond part boundaries by tool radius
|
||||
* `B` outside cutting direction in roughing mode inverted
|
||||
|
|
|
|||
Loading…
Reference in a new issue