d064c6efa8037667614b9dc161a44ef78ae3a741
Summary: Right now, the "SimpleEmailService" class uses trigger_error() to communicate error messages. This means they get lost in the error logs and aren't visible in the MetaMTA interface. Provide a flag to strengthen them into exceptions, instead. (I've attempted to emulate the prevailing style so I can offer this upstream.) Test Plan: Faked an error condition and got a detailed stack trace in MetaMTA instead of an empty "Message" field. Reviewed By: jungejason Reviewers: hunterbridges, codeblock, jungejason, tuomaspelkonen, aran CC: aran, jungejason Differential Revision: 783
Phabricator is a open source collection of web applications which make it easier to write, review, and share source code. Phabricator was developed at Facebook. This is an early release. It's pretty high-quality and usable, but under active development so things may change quickly. You can learn more about the project and find links to documentation and resources at: http://phabricator.org/ LICENSE Phabricator is released under the Apache 2.0 license except as otherwise noted. http://www.apache.org/licenses/LICENSE-2.0
Description
Languages
PHP
93.4%
JavaScript
4.1%
CSS
2.4%