Update Push.php

This commit is contained in:
Anyon 2020-11-23 16:21:22 +08:00
parent feb4a9e180
commit f41131f9a2

View File

@ -120,7 +120,7 @@ class Push extends Controller
$this->app->log->notice("The {$method} event pushed by wechat was not handled. from {$this->openid}"); $this->app->log->notice("The {$method} event pushed by wechat was not handled. from {$this->openid}");
} }
} catch (\Exception $exception) { } catch (\Exception $exception) {
$this->app->log->error("{$exception->getLine()} [{$exception->getCode()}] {$exception->getMessage()}"); $this->app->log->error("{$exception->getFile()}:{$exception->getLine()} [{$exception->getCode()}] {$exception->getMessage()}");
} }
return 'success'; return 'success';
} }