Migrating from sentry/sentry-laravel 3.8.2 -> 4.2.0 #855
-
Last week I updated sentry to the latest version but stopped receiving errors into sentry. I have just reverted back to the previous working version. Any suggestions on what I'm doing wrong? I was trying to follow the installation guide here: Handler.php Working Code:
Changed to this for latest version, but then no longer receiving errors:
|
Beta Was this translation helpful? Give feedback.
Answered by
stayallive
Feb 26, 2024
Replies: 2 comments 5 replies
-
Which Laravel version are you using? |
Beta Was this translation helpful? Give feedback.
2 replies
-
After the migration, did you also run |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you try adding this to your
sentry.php
next to your other options:Note: if you have config caching, disable it for a bit since this won't work with that!
This should write to
storage/logs/sentry.log
any internal logs from the SDK that might tell you what is not working. My first guess is that you don't have thecURL
extension enabled for your web requests but do have it enabled on the CLI. The logs should surface that if that is the case.