diff --git a/server/auth/validation.js b/server/auth/validation.js index 8bd0f29..c873ff7 100644 --- a/server/auth/validation.js +++ b/server/auth/validation.js @@ -64,13 +64,13 @@ const route = async (req, res) => { }); if (!probe.ok) { - throw `Could not probe the post validation hook: ${hook}`; + throw `Could not probe the post validation hook: ${hook} with accountIndex = ${account.index}`; } //discard the result }); - Promise.all(promises); + await Promise.all(promises); } catch(e) { console.error('HOOK_POST_VALIDATION_ARRAY is not a valid array of strings in JSON format: ' + e);