Do not shut down the SWT for any Error
[lgpl/argeo-commons.git] / swt / rap / org.argeo.cms.swt.rap / src / org / argeo / cms / web / CmsWebEntryPoint.java
index 4d91cf8e20e8a163740f58e4deeecc39e50abfa1..70f49f670054b82424104b68793fb1a190feaf30 100644 (file)
@@ -283,9 +283,9 @@ public class CmsWebEntryPoint extends AbstractSwtCmsView implements EntryPoint,
                                                }
                                        } else if (e instanceof ThreadDeath) {
                                                throw (ThreadDeath) e;
-                                       } else if (e instanceof Error) {
-                                               log.error("Unexpected error in event loop, shutting down...", e);
-                                               break eventLoop;
+//                                     } else if (e instanceof Error) {
+//                                             log.error("Unexpected error in event loop, shutting down...", e);
+//                                             break eventLoop;
                                        } else {
                                                log.error("Unexpected exception in event loop, ignoring it. " + e.getMessage());
                                                continue eventLoop;