mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Multi-catch refactoring when applicable
This commit is contained in:
1 parent
8ff2ca4c10
commit
8b3e4f43a2
21 files changed
+30
-94
No files matched your search
@@ -245,10 +245,7 @@ public class WebAppMain implements ServletContextListener {
|
||||
initThread.start();
|
||||
} catch (BootFailure e) {
|
||||
e.publish(context,home);
|
||||
} catch (Error e) {
|
||||
LOGGER.log(SEVERE, "Failed to initialize Jenkins",e);
|
||||
throw e;
|
||||
} catch (RuntimeException e) {
|
||||
} catch (Error | RuntimeException e) {
|
||||
LOGGER.log(SEVERE, "Failed to initialize Jenkins",e);
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user