mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update: exception message
This commit is contained in:
parent
bc5fb4956c
commit
6dd509d73e
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user