Catch promise errors
nfroidure opened this issue · 3 comments
nfroidure commented
You should catch promises errors here and exit with 1:
https://github.com/1000ch/reachable-urls/blob/master/cli.js#L117
Currently when an error happens the process runs indefinitely.
nfroidure commented
The error is caught but sine there is no process.exit, the process will not end with an error code which is probably not what you want, by example, when using in a CI as tests as i plan to.