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

New configuration to enable debug mode #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tungleduyxyz
Copy link
Contributor

@tungleduyxyz tungleduyxyz marked this pull request as draft May 21, 2024 04:09
@tungleduyxyz
Copy link
Contributor Author

About Rubocop issue, ENV.fetch('ENABLE_DEBUG_MODE') can not work with Java system.

@tungleduyxyz tungleduyxyz force-pushed the killbill_admin_ui_issue_330 branch 3 times, most recently from 726e6cf to f53ff09 Compare May 21, 2024 04:40
@tungleduyxyz tungleduyxyz marked this pull request as ready for review May 21, 2024 04:42
Copy link
Member

@pierre pierre left a comment

Choose a reason for hiding this comment

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

I'm fine making this configurable.

That being said, to fix killbill/killbill-admin-ui#330, we should do something else (consider_all_requests_local should usually be false in production). I believe config.exceptions_app could help.
See how https://github.com/richpeck/exception_handler does it for instance.

As suggested in killbill/killbill-admin-ui#330 (comment), we could keep the static error page, but add a box below it (maybe collapsed by default) to expand on the error. That way, users can understand the problem even when consider_all_requests_local=false.

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