|
@@ -154,7 +154,7 @@ class ErrorHandler extends \yii\base\ErrorHandler
|
|
|
if (false !== strpos($exception->getMessage(), $item)) {
|
|
if (false !== strpos($exception->getMessage(), $item)) {
|
|
|
$it = [
|
|
$it = [
|
|
|
'name' => ($exception instanceof Exception || $exception instanceof ErrorException) ? $exception->getName() : 'Exception',
|
|
'name' => ($exception instanceof Exception || $exception instanceof ErrorException) ? $exception->getName() : 'Exception',
|
|
|
- 'message' => '提醒:' . $exception->getMessage(),
|
|
|
|
|
|
|
+ 'message' => '(NC)提醒:' . $exception->getMessage(),
|
|
|
'code' => $exception->getCode(),
|
|
'code' => $exception->getCode(),
|
|
|
];
|
|
];
|
|
|
if ($exception instanceof HttpException) {
|
|
if ($exception instanceof HttpException) {
|