Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling #5

Open
beard7 opened this issue Mar 18, 2021 · 2 comments
Open

Error handling #5

beard7 opened this issue Mar 18, 2021 · 2 comments

Comments

@beard7
Copy link

beard7 commented Mar 18, 2021

Hi,

If sending fails, the error isn't being handled correctly. Instead I get:
ErrorException: Trying to get property 'error' of non-object in [path]\vendor\wapacro\laravel-msgraph-mail\src\MsGraphMailTransport.php:80

so I'm unable to trace the error.

Cheers

@wapacro
Copy link
Owner

wapacro commented Jul 8, 2021

Hi @beard7
Did you find out in the meantime what the problem was? My understanding is that the Microsoft Graph API should return a status code and message for every 4XX and 5XX error.

Can you please upgrade to v2.0.1 and test if the error still occurs?

@beard7
Copy link
Author

beard7 commented Jul 8, 2021

Leave it with me and I'll test 2.0.1 when I get chance (it could be some time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants