diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 11:51:29 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 11:51:29 +1200 |
commit | fa26dd5f14a991f327c26517a645c6b4f77c4a73 (patch) | |
tree | 26477b69c3aeca4cba7b6947cf6973d762841cda /src/org/traccar/api/AsyncSocket.java | |
parent | 2fb444df86d56246a8b5cee515eb91490c8dee05 (diff) | |
download | trackermap-server-fa26dd5f14a991f327c26517a645c6b4f77c4a73.tar.gz trackermap-server-fa26dd5f14a991f327c26517a645c6b4f77c4a73.tar.bz2 trackermap-server-fa26dd5f14a991f327c26517a645c6b4f77c4a73.zip |
Provide error messages
Diffstat (limited to 'src/org/traccar/api/AsyncSocket.java')
-rw-r--r-- | src/org/traccar/api/AsyncSocket.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/AsyncSocket.java b/src/org/traccar/api/AsyncSocket.java index 783aeb740..906d16b5b 100644 --- a/src/org/traccar/api/AsyncSocket.java +++ b/src/org/traccar/api/AsyncSocket.java @@ -89,7 +89,7 @@ public class AsyncSocket extends WebSocketAdapter implements ConnectionManager.U try { getRemote().sendString(Context.getObjectMapper().writeValueAsString(data), null); } catch (JsonProcessingException e) { - LOGGER.warn(null, e); + LOGGER.warn("Socket JSON formatting error", e); } } } |