projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore invocation of worker process if already running
[websub-hub]
/
src
/
manager.js
diff --git
a/src/manager.js
b/src/manager.js
index d7a07f117b9eae96aebb808382625d237409732f..fddc8e45ae6f272a346c2131a05d909c190d03d9 100644
(file)
--- a/
src/manager.js
+++ b/
src/manager.js
@@
-666,7
+666,9
@@
class Manager {
this.logger.debug(_scope, 'called', { ctx });
// N.B. no await on this
this.logger.debug(_scope, 'called', { ctx });
// N.B. no await on this
- this.communication.worker.process();
+ this.communication.worker.process().catch((e) => {
+ this.logger.error(_scope, 'failed', { error: e, ctx });
+ });
res.end();
this.logger.info(_scope, 'invoked worker process', { ctx });
res.end();
this.logger.info(_scope, 'invoked worker process', { ctx });