-
Notifications
You must be signed in to change notification settings - Fork 763
chore(react-email): Add console.error on uncaught exceptions #2179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
chore(react-email): Add console.error on uncaught exceptions #2179
Conversation
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: gabriel miranda <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bu Kinoshita <[email protected]>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: gabriel miranda <[email protected]>
…sing hot reloads (#2083)
…nd `@react-email/components` (#2085)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: gabriel miranda <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
643b95a
to
35a000c
Compare
ae17b61
to
e62d722
Compare
2eba90b
to
98c3d9b
Compare
0074ddf
to
f7e553f
Compare
For some time I noticed that when there was an uncaught exception the process would just close without any feedback. The problem
was that we were simply hooking into the
uncaughtException
event emitted on theprocess
and were not writing it into the consoleand instead closing the process with code 1. This PR fixes it by simply logging the error before closing the process.