Skip to content

Commit 0c7b8f5

Browse files
committed
优化:异常时的提示信息
1 parent 4081b56 commit 0c7b8f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/install/Installation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function install(string $version = ''): void
5050
Menu::import(include __DIR__ . '/menu.php');
5151
}
5252
} catch (\Error|\Exception|\Throwable $throwable) {
53-
echo $throwable->getMessage() . PHP_EOL;
53+
echo '【中间件安装必须插件】异常:'. $throwable->getMessage() . PHP_EOL;
5454
} finally {
5555
Util::resumeFileMonitor();
5656
}

0 commit comments

Comments
 (0)