Skip to content

Commit

Permalink
Log format. #57
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jul 13, 2015
1 parent 322b7e5 commit 6d758c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wechat/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class Exception extends BaseException
*/
public function __construct($message, $code = -1)
{
$message = empty($this->errors[$code]) ? $this->message : $message.' '.$this->errors[$code];
$message = empty($this->errors[$code]) ? $message : $this->errors[$code];

$message = "[Wechat]{$message}";

Expand Down

0 comments on commit 6d758c4

Please sign in to comment.