You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2024/06/25 09:39:40 UTC
(streampipes) branch hotfix-add-logging created (now 5e98f35fa4)
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a change to branch hotfix-add-logging
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at 5e98f35fa4 refactor: Add exception message to adapter exception
This branch includes the following new commits:
new 5e98f35fa4 refactor: Add exception message to adapter exception
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(streampipes) 01/01: refactor: Add exception message to adapter exception
Posted by ze...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch hotfix-add-logging
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 5e98f35fa4c6d7c561cc38306f91d27137d61efd
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Tue Jun 25 11:39:31 2024 +0200
refactor: Add exception message to adapter exception
---
.../streampipes/connect/iiot/protocol/stream/FileReplayAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/protocol/stream/FileReplayAdapter.java b/streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/protocol/stream/FileReplayAdapter.java
index dd0647c6d5..6ca6217553 100644
--- a/streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/protocol/stream/FileReplayAdapter.java
+++ b/streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/protocol/stream/FileReplayAdapter.java
@@ -313,7 +313,7 @@ public class FileReplayAdapter implements StreamPipesAdapter {
try {
return FileProtocolUtils.getFileInputStream(selectedFileName);
} catch (IOException e) {
- throw new AdapterException("Could not find file: " + selectedFileName);
+ throw new AdapterException("Could not find file: " + selectedFileName, e);
}
}
}