-
Notifications
You must be signed in to change notification settings - Fork 139
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
is package airbrake-js
posting to api.airbrake.io
? (and not airbrake.io
)
#1028
Comments
Hi @MathieuDerelle, thanks for writing in! The deprecated Let me know if that answers things for you. If not please share the airbrake package and version your app is using and we can help further. |
Hey @MathieuDerelle adding on to what @mmcdaris mentioned, older versions of airbrake-js (before the browser and node packages) that I can see, all point to Look for the line referencing Is there a specific version that you're using? By the way, we would generally recommend using the latest version of our notifiers to get the latest features and improvements. |
We have several Nuxt is missing a module for airbrake. Could be inspired by the sentry module It's in the back of my mind for some time but haven't taken the time to create this module. |
Hi @MathieuDerelle, I'd be happy to let the team know about this request. Could you share a little information about this:
Would adding an Airbrake module like the example one you provided fix this issue you mentioned? ie: would you monitor both frontend and backend errors without any added setup needed? |
Sorry for the late answer
Yes that would help to easily integrate in our most recent project, we have written 2 plugins (in the nuxt sense)
each plugin has its own filters (in the sense of airbrake's There was also the problem that sourcemaps were not available for the backend and we kinda code that in each project 😅 (from scratch or a bit of copy/pasting) |
it also need to add an error middleware in nuxt I've just found out about your express instrumentation But nuxt uses connect by default and I don't think it's compatible the hybrid config consists of a middleware :
(feels a bit dirty but it works) |
sorry, not sure where to post this
On airbrake.io, we are alerted that posting errors to
airbrake.io
directly is deprecated and should be done throughapi.airbrake.io
This page states which notifiers are affected
https://airbrake.io/try/updating-notifiers-to-use-correct-endpoint#javascript-notifier
but it does not state if users of
airbrake-js
(prior to split into@airbrake/node
and@airbrake/browser
) are affected or not by this problem...The text was updated successfully, but these errors were encountered: