Skip to content

Commit

Permalink
removed stack trace printing
Browse files Browse the repository at this point in the history
  • Loading branch information
benni committed Nov 15, 2019
1 parent 4d7524b commit 3f561ab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ public BatchResult createMultipleMessage(String payload) throws ResponseExceptio
try {
result.addSuccess(createMessage(objectMapper.writeValueAsString(next)));
} catch (Exception e) {
e.printStackTrace();

String entityId = "NOT AVAILABLE";
if (next.hasNonNull(NGSIConstants.JSON_LD_ID)) {
entityId = next.get(NGSIConstants.JSON_LD_ID).asText();
Expand Down Expand Up @@ -910,7 +910,7 @@ public BatchResult updateMultipleMessage(String resolved) throws ResponseExcepti
}

} catch (Exception e) {
e.printStackTrace();

RestResponse response;
if (e instanceof ResponseException) {
response = new RestResponse((ResponseException) e);
Expand Down Expand Up @@ -955,7 +955,7 @@ public BatchResult upsertMultipleMessage(String resolved) throws ResponseExcepti
result.addSuccess(createMessage(entityString));

} catch (Exception e) {
e.printStackTrace();

RestResponse response;
if (e instanceof ResponseException) {
ResponseException responseException = ((ResponseException) e);
Expand Down

0 comments on commit 3f561ab

Please sign in to comment.