Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Munilla2019-07-15 09:50:03 -0400
committerChristophe Munilla2019-07-15 09:50:03 -0400
commit4780d8a1a2ba2d77f317b5f3d88c587e80869ece (patch)
tree8c851a2b98ab419c6727252c7f3b134fb368c745
parent789f0a78c55006276d321dab30244fe8d1c791d2 (diff)
downloadorg.eclipse.sensinact.gateway-4780d8a1a2ba2d77f317b5f3d88c587e80869ece.tar.gz
org.eclipse.sensinact.gateway-4780d8a1a2ba2d77f317b5f3d88c587e80869ece.tar.xz
org.eclipse.sensinact.gateway-4780d8a1a2ba2d77f317b5f3d88c587e80869ece.zip
Fix wrong API use
Use the Message method of the catched Exception - the method doesn't exist - Use the getMessage one instead
-rw-r--r--platform/southbound/mqtt/smart-topic-device/src/main/java/org/eclipse/sensinact/gateway/sthbnd/mqtt/smarttopic/interpolator/MqttManagedService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/southbound/mqtt/smart-topic-device/src/main/java/org/eclipse/sensinact/gateway/sthbnd/mqtt/smarttopic/interpolator/MqttManagedService.java b/platform/southbound/mqtt/smart-topic-device/src/main/java/org/eclipse/sensinact/gateway/sthbnd/mqtt/smarttopic/interpolator/MqttManagedService.java
index 2706a393..34dca35a 100644
--- a/platform/southbound/mqtt/smart-topic-device/src/main/java/org/eclipse/sensinact/gateway/sthbnd/mqtt/smarttopic/interpolator/MqttManagedService.java
+++ b/platform/southbound/mqtt/smart-topic-device/src/main/java/org/eclipse/sensinact/gateway/sthbnd/mqtt/smarttopic/interpolator/MqttManagedService.java
@@ -72,7 +72,7 @@ public class MqttManagedService implements ManagedServiceFactory {
register(servicePID, dictionary);
}
}catch(Exception e) {
- LOG.error(e.Message(), e);
+ LOG.error(e.getMessage(), e);
}
}

Back to the top