Skip to content

Commit

Permalink
Merge pull request #1 from jessynt/patch-1
Browse files Browse the repository at this point in the history
arguments is missing
  • Loading branch information
cmzz committed May 17, 2017
2 parents 194e069 + 26bd977 commit c488a59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AliyunSms.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public function send($mobile, $tplId, $params)
logger()->error('客户端错误');
logger()->error($e->getErrorCode());
logger()->error($e->getErrorMessage());
throw new ClientException($e);
throw $e;
} catch (ServerException $e) {
logger()->error('服务端错误');
logger()->error($e->getErrorCode());
logger()->error($e->getErrorMessage());

throw $e;
}

return false;
}

}
}

0 comments on commit c488a59

Please sign in to comment.