Let's catch Throwable so that we correctly shut ourselves down if something
unexceptional causes startup failure, like NoClassDefFoundError. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6335 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -129,8 +129,8 @@ public class PresentsServer
|
|||||||
// down)
|
// down)
|
||||||
server.run();
|
server.run();
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Throwable t) {
|
||||||
log.warning("Unable to initialize server.", e);
|
log.warning("Unable to initialize server.", t);
|
||||||
System.exit(-1);
|
System.exit(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user