Skip to content

Commit

Permalink
Changed xml provider implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Dec 6, 2022
1 parent 6a51d10 commit 13759a8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ public Response firmaEsclusioni(@Context HttpServletRequest req, @FormParam("que
} catch (IOException e) {
LOGGER.error(e.getMessage(), e);
rb = Response.status(Status.INTERNAL_SERVER_ERROR);
} catch (ArubaSignServiceException e) {
rb = Response.status(Status.INTERNAL_SERVER_ERROR).entity(
Collections.singletonMap("message", Utility.signErrorMessage(e.getMessage()))
);
}
return rb.build();
}
Expand Down Expand Up @@ -410,6 +414,10 @@ public Response firmaComunicazioni(@Context HttpServletRequest req, @FormParam("
} catch (IOException e) {
LOGGER.error(e.getMessage(), e);
rb = Response.status(Status.INTERNAL_SERVER_ERROR);
} catch (ArubaSignServiceException e) {
rb = Response.status(Status.INTERNAL_SERVER_ERROR).entity(
Collections.singletonMap("message", Utility.signErrorMessage(e.getMessage()))
);
}
return rb.build();
}
Expand Down

0 comments on commit 13759a8

Please sign in to comment.