BUG: tracking down a post validation hook bug

This commit is contained in:
2022-07-24 19:01:47 +01:00
parent 39ddd8158a
commit 76fdbc0d13
+2 -2
View File
@@ -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);