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

Expose error callbacks, prevent always setting header #908

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jappeace
Copy link

@jappeace jappeace commented Apr 1, 2024

This allows debugging our local app, without these errors appear in the header.
it also allows us to send the errors to rollbar instead of informing the user.
Which is useful for development, but kinda bad for production systems.
I made the setHeaderMessage and resetHeaderMessage functions public so the user can emulate default behavior with the callbacks.
By default, it should keep doing whatever it was doing before.

Also fixes webpack build script on nixos.

this allows debugging our local app these weird errors appearing
in the header. it also allows us to send the errors to rollbar instead
of informing the user. Which is usefull for development,
but kinda terrible for production systems.

fix webpack build script
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.

1 participant