diff options
author | Vitaly Takmazov | 2018-11-01 13:33:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-11-01 13:33:59 +0300 |
commit | 85635be4234cad5f6d4ce73b1413b67d2abab586 (patch) | |
tree | c957d7fc211b741494573c973a12393a5e1e3986 /juick-server/src | |
parent | 2b9d2478833a060df76c855e78c46e33c032db49 (diff) |
logging url of http error handler
Diffstat (limited to 'juick-server/src')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java b/juick-server/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java index ad8e9b2f..e535b3e5 100644 --- a/juick-server/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java +++ b/juick-server/src/main/java/com/juick/server/configuration/ActivityPubClientErrorHandler.java @@ -28,7 +28,7 @@ public class ActivityPubClientErrorHandler extends DefaultResponseErrorHandler { logger.warn("HTTP ERROR {} {} : {}", response.getStatusCode().value(), response.getStatusText(), IOUtils.toString(response.getBody(), StandardCharsets.UTF_8)); if (response.getStatusCode().equals(HttpStatus.GONE)) { - logger.warn("Server report {} is gone, deleting", response); + logger.warn("Server report {} is gone, deleting", contextUri.toASCIIString()); applicationEventPublisher.publishEvent(new DeleteUserEvent(this, contextUri.toASCIIString())); } } |