percy / percy-script

[Deprecated] PercyScript is the easiest way to get started with visual testing and Percy.
https://percy.io
MIT License
2 stars 2 forks source link

fix: Exit non-zero when catching error #11

Closed Robdel12 closed 4 years ago

Robdel12 commented 4 years ago

What is this?

Building slightly on top of #10, this still catches the error (to remove the node uncaught promise errors) and then exits the script (rather than still creating a passing build in CI). This results in much cleaner stack traces:

image