You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2018/11/01 12:01:37 UTC

[incubator-plc4x] branch master updated: [OPM] Improved Error message.

This is an automated email from the ASF dual-hosted git repository.

jfeinauer 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 3c1510b  [OPM] Improved Error message.
3c1510b is described below

commit 3c1510b6285db506c25a1c3a7f9fbb7cb03fd211
Author: julian <j....@pragmaticminds.de>
AuthorDate: Thu Nov 1 12:54:09 2018 +0100

    [OPM] Improved Error message.
---
 .../src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java b/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java
index 61a7c3b..857f944 100644
--- a/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java
+++ b/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java
@@ -178,7 +178,7 @@ public class PlcEntityInterceptor {
         } catch (PlcConnectionException e) {
             throw new OPMException("Problem during processing", e);
         } catch (Exception e) {
-            throw new OPMException("Unknown Error", e);
+            throw new OPMException("Unexpected error during processing", e);
         }
     }