From d9ca06d85198c59f9771ffc27223c04c3321bea2 Mon Sep 17 00:00:00 2001 From: Chakshu Gautam Date: Sat, 1 Apr 2023 17:58:18 +0530 Subject: [PATCH] Add general exception --- .../com/uci/outbound/consumers/OutboundKafkaController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java b/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java index dfec11f..28cbc8b 100644 --- a/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java +++ b/src/main/java/com/uci/outbound/consumers/OutboundKafkaController.java @@ -115,6 +115,8 @@ public void accept(XMessageDAO xMessageDAO) { log.error("The current XMessage was " + xMessage.toXML()); }catch(JAXBException j) { log.error("Unable to parse the current XMessage " + xMessage.toString()); + }catch(Exception ge) { + log.error("Unable to parse the current XMessage ge " + xMessage.toString()); } } } else {