projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4cc457
)
NotifySend.php
author
edward
<edward@roojs.com>
Thu, 10 Nov 2016 09:09:51 +0000
(17:09 +0800)
committer
edward
<edward@roojs.com>
Thu, 10 Nov 2016 09:09:51 +0000
(17:09 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
1f70926
..
0228298
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-652,8
+652,11
@@
class Pman_Core_NotifySend extends Pman
function errorHandler($msg, $success = false)
{
if($this->error_handler == 'exception'){
- if()
- throw new Exception($msg);
+ if($success){
+ throw new Pman_Core_NotifySend_Exception_Success($msg);
+ }
+
+ throw new Pman_Core_NotifySend_Exception_Fail($msg);
}
die($msg);