diff options
author | ninioe <ninioe@gmail.com> | 2016-07-19 15:12:38 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-07-19 15:12:38 +0300 |
commit | e954e95547d05a34bbd36e3aa5003f4ddaf2ccd0 (patch) | |
tree | cbe6fda50d095cfc8d8c267a82feaa8812643fba /src/org/traccar/Main.java | |
parent | bfa3fa62305858166d8acdcf6da4a6d33249877d (diff) | |
download | trackermap-server-e954e95547d05a34bbd36e3aa5003f4ddaf2ccd0.tar.gz trackermap-server-e954e95547d05a34bbd36e3aa5003f4ddaf2ccd0.tar.bz2 trackermap-server-e954e95547d05a34bbd36e3aa5003f4ddaf2ccd0.zip |
changes Anton asked me
Diffstat (limited to 'src/org/traccar/Main.java')
-rw-r--r-- | src/org/traccar/Main.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java index 45374ca15..baad9d040 100644 --- a/src/org/traccar/Main.java +++ b/src/org/traccar/Main.java @@ -16,6 +16,8 @@ package org.traccar; import org.traccar.helper.Log; + +import java.sql.SQLException; import java.util.Timer; import java.util.TimerTask; import java.util.Locale; @@ -44,7 +46,7 @@ public final class Main { public void run() { try { Context.getDataManager().clearPositionsHistory(); - } catch (Exception error) { + } catch (SQLException error) { Log.warning(error); } } |