Skip to content

Commit 7db39f7

Browse files
Fixing log
1 parent aea897f commit 7db39f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/main/java/io/split/client/metrics/HttpMetrics.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void time(Latency dto) {
5050
try {
5151
post(_timeTarget, dto);
5252
} catch (Throwable t) {
53-
_log.warn("Exception when posting metric" + dto, t);
53+
_log.warn("Exception when posting metric " + dto, t);
5454
}
5555
;
5656

@@ -61,7 +61,7 @@ public void count(Counter dto) {
6161
try {
6262
post(_counterTarget, dto);
6363
} catch (Throwable t) {
64-
_log.warn("Exception when posting metric" + dto, t);
64+
_log.warn("Exception when posting metric " + dto, t);
6565
}
6666

6767
}
@@ -85,9 +85,9 @@ private void post(URI uri, Object dto) {
8585
}
8686

8787
} catch (Throwable t) {
88-
_log.warn("Exception when posting metrics:" + t.getMessage());
88+
_log.warn("Exception when posting metrics: " + t.getMessage());
8989
if (_log.isDebugEnabled()) {
90-
_log.debug("Reason:", t);
90+
_log.debug("Reason: ", t);
9191
}
9292
} finally {
9393
Utils.forceClose(response);

0 commit comments

Comments
 (0)