diff --git a/app/wechat/controller/api/Push.php b/app/wechat/controller/api/Push.php index 06500142f..6669632ab 100644 --- a/app/wechat/controller/api/Push.php +++ b/app/wechat/controller/api/Push.php @@ -118,7 +118,7 @@ class Push extends Controller if (is_string(($result = $this->$method()))) return $result; } } catch (\Exception $e) { - $this->app->log->error("{$e->getFile()}:{$e->getLine()} [{$e->getCode()}] {$e->getMessage()}"); + $this->app->log->error("{$e->getLine()} [{$e->getCode()}] {$e->getMessage()}"); } return 'success'; }