Standalone app does not shutdown on a fatal exception
clrxbl opened this issue ยท 1 comments
Description
An application should always terminate on a fatal exception where it cannot recover (e.g. database connection failures on startup).
The standalone LuckPerms application currently does not do this.
Reproduction Steps
Start the standalone application with a bad configuration file.
Expected Behaviour
Shutdown the application on a fatal exception.
Server Details
N/A
LuckPerms Version
v5.4.36
Logs and Configs
No response
Extra Details
No response
Still won't immediately shutdown if, for example, it cannot connect to the database - but if the database does become accessible, then LP will connect and the app should start functioning correctly.