Skip to content

Commit

Permalink
Fix error message in CollectorApiDatastore
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak authored and lampajr committed Dec 3, 2024
1 parent 4fb811e commit 45f8f40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public DatastoreResponse handleRun(JsonNode payload,
payload = mapper.readTree(response.body());
return new DatastoreResponse(payload, metaData);
} catch (JsonProcessingException e) {
log.error("Error while parsing responde from collector API ", e);
throw ServiceException.serverError("Error while sending request to collector API");
log.error("Error while parsing response from collector API ", e);
throw ServiceException.serverError("Error while parsing response from collector API");
} catch (IOException | InterruptedException e) {
log.error("Error while sending request to collector API", e);
throw ServiceException.serverError("Error while sending request to collector API");
Expand Down

0 comments on commit 45f8f40

Please sign in to comment.