update: exception message

This commit is contained in:
v2board 2023-04-14 17:41:22 +08:00
parent bc5fb4956c
commit 6dd509d73e

View File

@ -54,7 +54,7 @@ class Handler extends ExceptionHandler
public function render($request, Throwable $exception) public function render($request, Throwable $exception)
{ {
if ($exception instanceof ViewException) { if ($exception instanceof ViewException) {
abort(500, "主题渲染失败。如更新主题参数参数发生变化请重新配置主题后再试。"); abort(500, "主题渲染失败。如更新主题,参数可能发生变化请重新配置主题后再试。");
} }
return parent::render($request, $exception); return parent::render($request, $exception);
} }