diff options
Diffstat (limited to 'src/org/traccar/smpp/EnquireLinkTask.java')
-rw-r--r-- | src/org/traccar/smpp/EnquireLinkTask.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/smpp/EnquireLinkTask.java b/src/org/traccar/smpp/EnquireLinkTask.java index 22347b6f4..9a3121e24 100644 --- a/src/org/traccar/smpp/EnquireLinkTask.java +++ b/src/org/traccar/smpp/EnquireLinkTask.java @@ -43,13 +43,13 @@ public class EnquireLinkTask implements Runnable { smppSession.enquireLink(new EnquireLink(), enquireLinkTimeout); } catch (SmppTimeoutException | SmppChannelException | RecoverablePduException | UnrecoverablePduException error) { - Log.warning("Enquire link failed, executing reconnect: " + error); + Log.warning("Enquire link failed, executing reconnect: ", error); smppClient.reconnect(); } catch (InterruptedException error) { Log.info("Enquire link interrupted, probably killed by reconnecting"); } } else { - Log.error("Enquire link running while session is not connected"); + Log.warning("Enquire link running while session is not connected"); } } |