Skip to content

Commit

Permalink
Add JAXBException
Browse files Browse the repository at this point in the history
  • Loading branch information
ChakshuGautam authored Apr 1, 2023
1 parent 68c76e8 commit ba70434
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ public void accept(XMessageDAO xMessageDAO) {
});
}catch(Exception e){
log.error("Exception in convertXMessageToDAO:" + e.getMessage());
log.error("The current XMessage was " + xMessage.toXML());
try{
log.error("The current XMessage was " + xMessage.toXML());
}catch(JAXBException j) {
log.error("Unable to parse the current XMessage " + xMessage.toString());
}
}
} else {
log.info("XMessage -> app is empty");
Expand Down

0 comments on commit ba70434

Please sign in to comment.