diff options
author | Abyss777 <abyss@fox5.ru> | 2018-04-28 16:30:24 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2018-04-28 16:30:24 +0500 |
commit | 4086a60931b85717af7ce6e52a1945fab762dc8c (patch) | |
tree | 7dfdbb7590af471943d89fb7c2109b56c0bb8837 /src/org/traccar | |
parent | 94f87ea207558f6b03eeaf49dd2527dcfe0472ba (diff) | |
download | trackermap-server-4086a60931b85717af7ce6e52a1945fab762dc8c.tar.gz trackermap-server-4086a60931b85717af7ce6e52a1945fab762dc8c.tar.bz2 trackermap-server-4086a60931b85717af7ce6e52a1945fab762dc8c.zip |
Change error string
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/database/CommandsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/CommandsManager.java b/src/org/traccar/database/CommandsManager.java index e59762d10..8ddced5f7 100644 --- a/src/org/traccar/database/CommandsManager.java +++ b/src/org/traccar/database/CommandsManager.java @@ -74,7 +74,7 @@ public class CommandsManager extends ExtendedObjectManager<Command> { if (activeDevice != null) { activeDevice.sendCommand(command); } else if (!queueing) { - throw new RuntimeException("Commands queueing is not enabled"); + throw new RuntimeException("Device is not online"); } else { getDeviceQueue(deviceId).add(command); return false; |