mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(zk) Terminately immediately if zookeeper isn't found
This makes debugging easier
This commit is contained in:
parent
df93e57a9a
commit
800ed6b1e9
@ -32,11 +32,12 @@ public class ServiceDiscoveryModule extends AbstractModule {
|
|||||||
if (null == env) {
|
if (null == env) {
|
||||||
System.err.println("""
|
System.err.println("""
|
||||||
ZOOKEEPER_HOSTS not set. This probably means that you are running an old installation,
|
ZOOKEEPER_HOSTS not set. This probably means that you are running an old installation,
|
||||||
or that the environment is not set up correctly.
|
or that the environment is not set up correctly.
|
||||||
|
|
||||||
See the 2024-03+ migration notes, https://docs.marginalia.nu/6_notes/6_1__migrate_2024_03_plus
|
See the 2024-03+ migration notes, https://docs.marginalia.nu/6_notes/6_1__migrate_2024_03_plus
|
||||||
|
|
||||||
""");
|
""");
|
||||||
|
System.exit(1);
|
||||||
}
|
}
|
||||||
return env;
|
return env;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user