Using the report helper, we can push exceptions to our defined log channel before bref handles the exception.
Ideally, if a job fails, exceptions would be pushed to our desired log driver. Cloudwatch logs aren't the easiest to use, especially for people who aren't in the know on how bref is deployed. So we use flare to keep visibility on errors consistent across all of our laravel apps. Currently, the bref SQS queue handler doesn't report failed jobs to the defined log channel, this is confusing when web functions do.
Using the report helper, we can push exceptions to our defined log channel before bref handles the exception.
Ideally, if a job fails, exceptions would be pushed to our desired log driver. Cloudwatch logs aren't the easiest to use, especially for people who aren't in the know on how bref is deployed. So we use flare to keep visibility on errors consistent across all of our laravel apps. Currently, the bref SQS queue handler doesn't report failed jobs to the defined log channel, this is confusing when web functions do.