Commit 7d45fb91 authored by Liang Ding's avatar Liang Ding

🎨 独立模式启动框架报错日志

parent 4535c0eb
...@@ -128,7 +128,13 @@ public final class Starter { ...@@ -128,7 +128,13 @@ public final class Starter {
portArg = "8080"; portArg = "8080";
} }
Latkes.init(); try {
Latkes.init();
} catch (final Exception e) {
logger.log(Level.ERROR, "Latke init failed, please configure latke.props or run with args, visit https://hacpai.com/article/1492881378588 for more details");
System.exit(-1);
}
String serverScheme = commandLine.getOptionValue("server_scheme"); String serverScheme = commandLine.getOptionValue("server_scheme");
if (null != serverScheme) { if (null != serverScheme) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment