Raven
Raven copied to clipboard
Events dispatcher has not been set.
Hi, I'm getting this error in my logs. can't figure out why. Only happens when the Raven service provider is enabled. All errors are getting through to sentry & are written to the log file.
This log is from the supervisor.log file. There is a similar one in the laravel log file.
[RuntimeException]
Events dispatcher has not been set.
queue:work [--queue[="..."]] [--daemon] [--delay[="..."]] [--force] [--memory[="..."]] [--sleep[="..."]] [--tries[="..."]] [connection]
Processed: rcrowe\Raven\Handler\Laravel\Job
disabling the service provider = the queue job completes successfully.
Any ideas?
Figured out my problem - something to do with Log::listen in a queue handler.
- not sure if this is related to rcrowe/raven of not..
I'll leave the ticket open for now so you can have a quick look.