Ensure that waitForAll functions catch and log thrown errors
This commit is contained in:
parent
45fcf827dd
commit
9e54f55c22
6 changed files with 36 additions and 5 deletions
|
@ -673,6 +673,8 @@ function keysFromBytes(keys: Array<string>, data: any) {
|
|||
// Top-level calls
|
||||
|
||||
async function shutdown() {
|
||||
log.info('Client.shutdown');
|
||||
|
||||
// Stop accepting new SQL jobs, flush outstanding queue
|
||||
await _shutdown();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue