Imap icon indicating copy to clipboard operation
Imap copied to clipboard

Clearing Error Stack to Remove Notices on error reporting

Open davidsalazar opened this issue 13 years ago • 1 comments

How come you don't call imap_errors() on your thrown exception instead of imap_last_error()?

I had an issue with notices being thrown because that doesn't clear the error stack like imap_errors() does. I hope i didn't miss something, what do you think?

davidsalazar avatar Dec 23 '12 06:12 davidsalazar

To be honest, I haven't thought about that at all, since I was cleaning up and improving Kastang's code, and was mostly focused on getting things working well. If I can get around to testing imap_errors(), and it seems to work well, I might replace it.

I'm also happy to look at pull requests :)

geerlingguy avatar Jan 29 '13 17:01 geerlingguy

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] avatar Jul 13 '23 22:07 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Sep 14 '23 22:09 github-actions[bot]