-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
SendMailMailer: confusing error message #2
Comments
Or we could check whether last error message is different from what it was before sending mail. (Obviously wouldn't work for multiple send calls, but better than nothing.) |
Or install own hander like this https://github.com/nette/utils/blob/b272a9fd6ebfb66f729faca841114c2ded116ef6/src/Utils/Json.php#L51 |
dg
added a commit
that referenced
this issue
Jun 23, 2014
Awesome 👍 |
dg
added a commit
to nette/nette
that referenced
this issue
Aug 7, 2014
dg
added a commit
to nette/nette
that referenced
this issue
Aug 7, 2014
dg
added a commit
to nette/nette
that referenced
this issue
Aug 7, 2014
dg
added a commit
to nette/nette
that referenced
this issue
Aug 10, 2014
dg
added a commit
that referenced
this issue
Aug 11, 2014
dg
added a commit
to nette/nette
that referenced
this issue
Aug 27, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When mail function fails, it does not always create error. For instance you can get error which was earlier created by this code http://api.nette.org/2.1.0/source-Caching.Storages.FileStorage.php.html#325.
I suggest to improve the exception message. This might be better:
The text was updated successfully, but these errors were encountered: