flyingluscas / Laravel-BugNotifier

Get notified every time an exception is thrown in your application.
MIT License
24 stars 2 forks source link

PATCH - Only mailables may be queued - Laravel 5.3+ #7

Closed vzool closed 6 years ago

vzool commented 6 years ago

Description

Provide a patch to support Laravel 5.3+

Motivation and context

Why is this change required? What problem does it solve?

It does fail to send error messages in Laravel 5.4.36+ with error thrown:

InvalidArgumentException
Only mailables may be queued.

After I dig enough mailables are support from Laravel 5.3+

How has this been tested?

Please describe in detail how you tested your changes.

Include details of your testing environment, and the tests you ran to see how your change affects other areas of the code, etc.

Screenshots (if appropriate)

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist:

Go over all the following points, and put an x in all the boxes that apply.

Please, please, please, don't send your pull request until all of the boxes are ticked.

If you're unsure about any of these, don't hesitate to ask. We're here to help!