This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new e44a84a fix(plc4j): Hopefully fixed the code for detecting the
libpcap version.
e44a84a is described below
commit e44a84a38045404b9399716a7517bb4b7d8977ea
Author: cdutz <[email protected]>
AuthorDate: Sat Feb 26 17:00:38 2022 +0100
fix(plc4j): Hopefully fixed the code for detecting the libpcap version.
---
.../src/main/java/org/apache/plc4x/test/RequirePcapNgCondition.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/RequirePcapNgCondition.java
b/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/RequirePcapNgCondition.java
index c7030a7..a19bc09 100644
---
a/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/RequirePcapNgCondition.java
+++
b/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/RequirePcapNgCondition.java
@@ -55,7 +55,7 @@ public class RequirePcapNgCondition implements
ExecutionCondition {
return ConditionEvaluationResult.disabled("Test disabled
due to too old libpcap version. Please install at least version 1.1.0 to
support all features.");
}
}
- } catch(Exception e) {
+ } catch(Throwable e) {
logger.info("Error detecting libpcap version.", e);
}
if(SystemUtils.IS_OS_WINDOWS) {