We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 252f71e commit b6f738dCopy full SHA for b6f738d
web/src/main/java/org/openmrs/web/Listener.java
@@ -361,8 +361,13 @@ public static void startOpenmrs(ServletContext servletContext) throws ServletExc
361
SchedulerUtil.startup(getRuntimeProperties());
362
}
363
catch (Exception t) {
364
- Context.shutdown();
365
- WebModuleUtil.shutdownModules(servletContext);
+ try {
+ Context.shutdown();
366
+ WebModuleUtil.shutdownModules(servletContext);
367
+ }
368
+ catch (Throwable tw) {
369
+ //ignore shutdown error
370
371
throw new ServletException(t);
372
373
finally {
0 commit comments