-
Notifications
You must be signed in to change notification settings - Fork 114
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
Access from plugin context clientside #42
Comments
This issue as been imported as question since it does not respect sentry-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload. |
|
@aldarund Thanks ! I was using v1 of sentry module using $raven. So I have updated module to v2. Some detailsI don't know why, It doesn't work with destructured assignement :
=> It works though with :
and then accessing |
Could you maybe share some more code? In which file are you calling this code, what are you importing, etc. |
@DiederikvandenB It's a simple nuxt plugin :
|
What was the solution? I have a similar issue where |
@seandelaney solution for me was (as you can see in the thread) using
with module updated to v2. |
Ok I think I finally get it ! My guess : Sentry is working in client side only, but the plugin is not registered for client side only cause I need it to be initiated in server side (as I need for axios) But I am calling |
Sorry for not responding! Completely forgot. Very glad you were able to resolve it yourself. |
I am trying to automatically track network errors.
But
$raven
is undefined.Any ideas ? I have read #19 but I don't find the solution.
Thanks
The text was updated successfully, but these errors were encountered: