mirror of https://github.com/apache/nifi.git
NIFI-13566 Catch Throwable during JettyServer start to ensure any issue during start will exit
Signed-off-by: Matt Burgess <mattyb149@apache.org> This closes #9101
This commit is contained in:
parent
6dd83b7034
commit
0e422f0ea3
|
@ -969,8 +969,8 @@ public class JettyServer implements NiFiServer, ExtensionUiLoader {
|
|||
logger.info("Started Server on {}", applicationUrl);
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
startUpFailure(ex);
|
||||
} catch (Throwable t) {
|
||||
startUpFailure(t);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue