Skip to content

onError global guard doesn't seem to catch all the errors #2101

Closed Answered by posva
AnnaYuS asked this question in Help and Questions
Discussion options

You must be logged in to vote

I think you do not mean to throw an Error in that case as that is for unexpected errors and it is meant to be caught by things like sentry.
That being said you could always create your custom push function that always adds a catch() at the end

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@AnnaYuS
Comment options

@posva
Comment options

Answer selected by posva
@yakobe
Comment options

@posva
Comment options

@yakobe
Comment options

@posva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants