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:
Bryan Bende 2024-07-22 11:26:55 -04:00 committed by Matt Burgess
parent 6dd83b7034
commit 0e422f0ea3
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}