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:41 UTC
(streampipes) 01/01: refactor: Add exception message to adapter exception
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);
}
}
}