From 4086a60931b85717af7ce6e52a1945fab762dc8c Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Sat, 28 Apr 2018 16:30:24 +0500 Subject: Change error string --- src/org/traccar/database/CommandsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { 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; -- cgit v1.2.3