This commit is contained in:
Kohsuke Kawaguchi committed 2011-06-06 12:42:07 -07:00
1 parent 1e35352b7e
commit ca9c4e06aa
2 files changed
+7 -7

No files matched your search

+4 -4
View File
@@ -223,20 +223,20 @@ public final class WebAppMain implements ServletContextListener {
}
}, 1000*10);
} catch (Error e) {
LOGGER.log(Level.SEVERE, "Failed to initialize Hudson",e);
LOGGER.log(Level.SEVERE, "Failed to initialize Jenkins",e);
context.setAttribute(APP,new HudsonFailedToLoad(e));
throw e;
} catch (Exception e) {
LOGGER.log(Level.SEVERE, "Failed to initialize Hudson",e);
LOGGER.log(Level.SEVERE, "Failed to initialize Jenkins",e);
context.setAttribute(APP,new HudsonFailedToLoad(e));
}
}
}.start();
} catch (Error e) {
LOGGER.log(Level.SEVERE, "Failed to initialize Hudson",e);
LOGGER.log(Level.SEVERE, "Failed to initialize Jenkins",e);
throw e;
} catch (RuntimeException e) {
LOGGER.log(Level.SEVERE, "Failed to initialize Hudson",e);
LOGGER.log(Level.SEVERE, "Failed to initialize Jenkins",e);
throw e;
}
}