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/BaseProtocolDecoder.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/BaseProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/BaseProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/org/traccar/BaseProtocolDecoder.java index e940d96c4..1f43d6a1e 100644 --- a/src/org/traccar/BaseProtocolDecoder.java +++ b/src/org/traccar/BaseProtocolDecoder.java @@ -61,7 +61,7 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder { return device.getId(); } catch (SQLException e) { - LOGGER.warn(null, e); + LOGGER.warn("Automatic device registration error", e); return 0; } } @@ -134,7 +134,7 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder { } } } catch (Exception e) { - LOGGER.warn(null, e); + LOGGER.warn("Find device error", e); } if (deviceId == 0 && Context.getConfig().getBoolean("database.registerUnknown")) { return addUnknownDevice(uniqueIds[0]); |