Laravel and Rollbar
I have Rollbar installed for error tracking but it only seems to work for errors that involve a Livewire component. My staging environment (which runs on a real domain using Vapor) just registered a 500 Server Error but Rollbar has no record of it. But, it correctly records errors within Livewire elements in the same staging environment. So I know it works some of the time. Any thoughts?
Update: The error was caused by an incorrect column name:
$orders = Order::where([
['processed', false],
['canceled', false],
['refunded', false],
['location_id', $this->location_id]
])
->orderBy('block', 'asc')
->paginate(10);
I changed the column name block so that was causing the error. Turns out this was inside a Livewire mount() function so it apparently works for some Livewire errors but not others. Even though I figured out what was causing the 500 error it still does not register in Rollbar. Why wouldn't it show up?
Please or to participate in this conversation.