aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-04-28 16:30:24 +0500
committerAbyss777 <abyss@fox5.ru>2018-04-28 16:30:24 +0500
commit4086a60931b85717af7ce6e52a1945fab762dc8c (patch)
tree7dfdbb7590af471943d89fb7c2109b56c0bb8837 /src/org
parent94f87ea207558f6b03eeaf49dd2527dcfe0472ba (diff)
downloadtrackermap-server-4086a60931b85717af7ce6e52a1945fab762dc8c.tar.gz
trackermap-server-4086a60931b85717af7ce6e52a1945fab762dc8c.tar.bz2
trackermap-server-4086a60931b85717af7ce6e52a1945fab762dc8c.zip
Change error string
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/database/CommandsManager.java2
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;