Skip to content
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

[preview] Always run preview prepare in try/catch #1364

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Jun 11, 2019

We are currently only catching prepare errors in development. We briefly discussed this IRL and decided that maybe we should just do the same for production.

This PR implements this, as well as fixing an error where the prepare error would be garbled into a string because of an incorrect order of arguments.

@rexxars rexxars requested review from bjoerge and kmelve June 11, 2019 14:44
Copy link
Contributor

@thomax thomax left a comment

Choose a reason for hiding this comment

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

Nice!

@rexxars rexxars merged commit 260db28 into next Jun 12, 2019
@rexxars rexxars deleted the always-try-catch-preview-prepare branch June 12, 2019 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants