-
Notifications
You must be signed in to change notification settings - Fork 625
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
Confusing error message with bad credentials #12
Comments
What version of the library are you using? |
I can't find a version number. :( But I assume it's the latest because it has this commit: d292263 |
@caseysoftware Is still this still an issue for you? |
Yes, I just set incorrect credentials and received the same message. It could be as simple as catching the error and giving a more expressive error message. Here's a post that covers one strategy: http://stackoverflow.com/a/2146171 |
My first thought was just to wrap the underlying call to the SwiftMailer |
@caseysoftware this will be ready soon. It's part of version 1.0.3. Once I get access to push up to packagist, it will be available. Until then, you could setup your composer.json to look like:
https://packagist.org/packages/sendgrid/sendgrid That will put you on edge, but if you can wait, just wait to version 1.0.3 is officially released. Thanks for your help to us on all this. |
Thank you sir and much appreciated. :) |
@caseysoftware that is live now as 1.0.3. By design you'll still have to catch the error, but now the error will look like this (just tested by hand as well on a separate project utilizing this library)
|
I changed my SendGrid password yesterday for an unrelated reason and when one of my crons ran this morning, I received the error message below. While it mentions the authenticator, it doesn't give any indication of what the actual error was.
(Paths removed but otherwise message untouched.)
The text was updated successfully, but these errors were encountered: