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

Allow disabling of error handling #582

Merged

Conversation

wheeyls
Copy link
Contributor

@wheeyls wheeyls commented Jan 28, 2024

Per issue #528
Allow opting out of catching errors in the application controller. Allows usage of web_console, better_errors, and other solutions.

Per issue lookbook-hq#528
Allow opting out of catching errors in the application controller.
Allows usage of web_console, better_errors, and other solutions.
Copy link

netlify bot commented Jan 28, 2024

Deploy Preview for lookbook-docs canceled.

Name Link
🔨 Latest commit b8a2be5
🔍 Latest deploy log https://app.netlify.com/sites/lookbook-docs/deploys/65b59bf3ac5ed00008a96265

@allmarkedup
Copy link
Collaborator

Hey @wheeyls, thank you for this!

In a future major release of Lookbook it may be that not handling errors becomes the default behaviour as I've never been super happy with it. But having it as a config option for now is great.

I'll just give it a try now but if I don't find any issues with it I'll merge it in, add a note in the docs and get it out in the next release. Thanks again :)

@allmarkedup
Copy link
Collaborator

Looks good, merging now - thanks again for the contribution!

@allmarkedup allmarkedup merged commit 9912571 into lookbook-hq:main Feb 3, 2024
16 of 20 checks passed
@wheeyls
Copy link
Contributor Author

wheeyls commented Feb 3, 2024

Thanks @allmarkedup.And yeah I agree as a rule I'd prefer the default behavior is to let me choose my error handling strategy myself, there are lots of other solutions out there.

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.

2 participants