-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
node-ovh-objectstorage/src/Containers.js
Line 298 in c9b2dfa
| (async () => { |
This lines creates an async function at the wrong place. It causes all the throws statements within the block to not be properly catched, resulting in unhandled rejection exceptions that cannot be handled during execution.
The async statement should be placed at the promise function level instead:
node-ovh-objectstorage/src/Containers.js
Line 296 in c9b2dfa
| return new Promise((resolve, reject) => { |
Like its done in all the other places:
node-ovh-objectstorage/src/Containers.js
Line 240 in c9b2dfa
| return new Promise(async (resolve, reject) => { |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels