Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Conversation

@Robdel12
Copy link
Contributor

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

denis-sokolov and others added 3 commits January 19, 2020 18:52
Before the script silently returned success when the running has failed.

Workflows that relied on PR integration with Percy had received a failure from Percy,
but independent workflows would silently pass until anyone notices a failure.
This will allow us swallow nodes uncaught promise rejection errors, print a nice
stack trace, and also exit the script with a non-zero exit code.
@Robdel12 Robdel12 requested a review from wwilsman January 21, 2020 17:04
Copy link

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎮

@Robdel12 Robdel12 merged commit 556d461 into master Jan 21, 2020
@Robdel12 Robdel12 deleted the denis-sokolov-patch-1 branch January 21, 2020 17:06
@Robdel12 Robdel12 mentioned this pull request Jan 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants