Fix logging
This commit is contained in:
@@ -66,7 +66,7 @@ public class MqttService {
|
|||||||
|
|
||||||
subscriber.subscribe(topic, 1);
|
subscriber.subscribe(topic, 1);
|
||||||
} catch (MqttException e) {
|
} catch (MqttException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user