This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/master by this push: new c3e1a93 Fixed some SonarQube findings c3e1a93 is described below commit c3e1a93188a85d17c1d937e218c381dda0042596 Author: Christofer Dutz <christofer.d...@c-ware.de> AuthorDate: Fri May 25 14:51:49 2018 +0200 Fixed some SonarQube findings --- .../apache/plc4x/java/examples/iotfactory/IotElasticsearchFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/iot-factory/src/main/java/org/apache/plc4x/java/examples/iotfactory/IotElasticsearchFactory.java b/examples/iot-factory/src/main/java/org/apache/plc4x/java/examples/iotfactory/IotElasticsearchFactory.java index 2544140..41090f8 100644 --- a/examples/iot-factory/src/main/java/org/apache/plc4x/java/examples/iotfactory/IotElasticsearchFactory.java +++ b/examples/iot-factory/src/main/java/org/apache/plc4x/java/examples/iotfactory/IotElasticsearchFactory.java @@ -167,6 +167,8 @@ public class IotElasticsearchFactory { // Submit the topology and hereby start the event streams. dp.submit(top); + } catch (Exception e) { + throw new IotElasticsearchFactoryException("Error while connecting or disconnecting from the PLC.", e); } } -- To stop receiving notification emails like this one, please contact cd...@apache.org.