UserEventWorker: catch exceptions

Change-Id: I9ea81adb7a87d9640ffe458475d096cfaa1a2030
diff --git a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
index 324215d..af14ed0 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/rabbitmq/worker/UserEventWorker.java
@@ -33,8 +33,10 @@
 import com.google.inject.Provider;
 import com.google.inject.ProvisionException;
 import com.googlesource.gerrit.plugins.rabbitmq.message.Publisher;
+import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
+import org.eclipse.jgit.errors.ConfigInvalidException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -135,7 +137,7 @@
                           });
                   eventListenerRegistrations.put(publisher, registration);
                   LOGGER.info("Listen events as : {}", userName);
-                } catch (OrmException e) {
+                } catch (OrmException | ConfigInvalidException | IOException e) {
                   LOGGER.error("Could not query database for listenAs", e);
                   return;
                 } finally {