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

Postponing of exception rendering #45

Open
gracinet opened this issue Aug 6, 2019 · 0 comments
Open

Postponing of exception rendering #45

gracinet opened this issue Aug 6, 2019 · 0 comments

Comments

@gracinet
Copy link
Contributor

gracinet commented Aug 6, 2019

AWB exceptions are not formatted at the time of instantiation, in part to avoid potentially unneeded slow operations (although we don't encourage the "better say sorry than ask permission" style of coding in that case).

But if the exception triggers a DB rollback, any rendering done after that will be broken or have potentially wrong (rollbacked) information.

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

No branches or pull requests

1 participant