Skip to content

Commit

Permalink
logging IO exception if Message node failes
Browse files Browse the repository at this point in the history
  • Loading branch information
anan02-admin authored and anan02-admin committed Mar 9, 2023
1 parent 80799c3 commit 871c411
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public NodeStatus executeLeaf() {
} catch (URISyntaxException | MessageEvaluationException ex) {
return new NodeStatus(Status.FAILED, this.getObject().getLogger(), this.getClass(), toString() + " FAILED due to malformed URI");
} catch (IOException | SAXException ex) {
return new NodeStatus(Status.FAILED, this.getObject().getLogger(), this.getClass(), toString() + " FAILED due to IO exception");
return new NodeStatus(Status.FAILED, this.getObject().getLogger(), this.getClass(), toString() + " FAILED due to IO exception", ex);
} catch (AJANRequestException ex) {
return new NodeStatus(Status.FAILED, this.getObject().getLogger(), this.getClass(), toString() + " FAILED due to wrong content-type in response. Expecting RDF-based content!");
}
Expand Down

0 comments on commit 871c411

Please sign in to comment.