ignis-sec/puff

Chrome Errors

Opened this issue · 1 comments

Hey as a heads up i keep getting the following error which is covered my cli.

(node:3544) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 52)```

this appears to happen on multiple sites. 

does it just need that flag adding in and it's fixed?

I'll have a quick check, i haven't had the opportunity to test for such errors yet, so i don't have pretty error handling yet.
Adding that flag would just be closing eyes to the problem - an exception was thrown but there was no catch block.

Could you pass it the -k flag? It'll internally tell chromium to ignore the certificate name and certificate expiry errors, which causes an exception otherwise. That might be the issue.