You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exceptionite readme documentation is quite helpful. Thanks!
However, I am using Masonite (v4) and it took me a bit to figure out a reasonable way to add an additional block to the context tab. The Adding Context section shows a handler, but I wasn't sure of the best way to get it in the Masonite context.
I ended up creating a new provider:
python craft provider ExceptioniteContextProvider
I then updated it to include the new block (shown here using the sample from the readme):
This works, but I'd love to know if there's a better approach. Do I need to check for debug mode or otherwise make sure that exceptionite is being used? Ideally this could be deployed in a production environment without needing changes to disable it.
Should something like this be added to the documentation?
Thanks!
The text was updated successfully, but these errors were encountered:
The exceptionite readme documentation is quite helpful. Thanks!
However, I am using Masonite (v4) and it took me a bit to figure out a reasonable way to add an additional block to the context tab. The Adding Context section shows a handler, but I wasn't sure of the best way to get it in the Masonite context.
I ended up creating a new provider:
python craft provider ExceptioniteContextProvider
I then updated it to include the new block (shown here using the sample from the readme):
I then added it to Masonite's config/providers.py by updating the file:
This works, but I'd love to know if there's a better approach. Do I need to check for debug mode or otherwise make sure that exceptionite is being used? Ideally this could be deployed in a production environment without needing changes to disable it.
Should something like this be added to the documentation?
Thanks!
The text was updated successfully, but these errors were encountered: