提交 4ea2e284 authored 作者: Noel Grandin's avatar Noel Grandin

#1774: improve error message when browser detection fails

上级 2a6869f9
...@@ -718,8 +718,8 @@ public class Server extends Tool implements Runnable, ShutdownHandler { ...@@ -718,8 +718,8 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
if (!ok) { if (!ok) {
// No success in detection. // No success in detection.
throw new Exception( throw new Exception(
"Browser detection failed and system property " + "Browser detection failed, and java property 'h2.browser' " +
SysProperties.H2_BROWSER + " not set"); "and environment variable BROWSER are not set to a browser executable.");
} }
} }
} catch (Exception e) { } catch (Exception e) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论