-
Notifications
You must be signed in to change notification settings - Fork 113
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
Does this work with the Node server in Nuxt.js? #406
Comments
It depends how you API is structured. It typically should work by default, if your API "trees" allow the errors to fallback to the Sentry's error handler. But if you are gonna add your own error handlers and terminate the "tree" then it won't fall back to to that and then you need to explicitly add Sentry error handlers in your middleware. |
@rchl are there any docs pointing to this? Mostly what we're attempting to do is actually log specific errors from third party services within our API. As an example, we send transaction emails and on error of that service we want to log the error with sentry. However |
On the API side you have |
thank you!!
Patrick Johnson
Progress Labs
@patrickbjohnson ( https://twitter.com/patrickbjohnson )
www.pbj.me ( http://www.pbj.me/ )
…On Wed, Mar 23, 2022 at 4:12 PM, Rafał Chłodnicki < ***@***.*** > wrote:
On the API side you have process.sentry.
—
Reply to this email directly, view it on GitHub (
#406 (comment)
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AAOZMSPENFEVWLCGHBL6ASDVBN3MLANCNFSM5RMDLTBA
).
You are receiving this because you authored the thread. Message ID: <nuxt-community/sentry-module/issues/406/1076775621
@ github. com>
|
Sorry to continue this thread but seems like |
You need to provide more info / code on what you are doing exactly. |
We need to track errors on our API endpoints and we'd love to use this module as its already included for the client side. Aside from the
disable
based server side configurations there is no documentation that helps us understand/outline how to use this on the node/API side of Nuxt.jsThe text was updated successfully, but these errors were encountered: