Skip to content
Snippets Groups Projects
Commit db90f07f authored by Sergiu Dumitriu's avatar Sergiu Dumitriu
Browse files

[misc] Use Jetty's recommended way of dealing with impossible exceptions

parent 07d3c6e2
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@ public void lifeCycleStarted(LifeCycle event)
LOGGER.info(Messages.getString("jetty.startup.notification"), serverUrl);
} catch (UnknownHostException ex) {
// Shouldn't happen, localhost should be available
LOGGER.ignore(ex);
}
LOGGER.info(DELIMITER);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment