Skip to content

Commit

Permalink
feat: Made the S7 driver output a better warning, if there are issues…
Browse files Browse the repository at this point in the history
… loading libpcap
  • Loading branch information
chrisdutz committed Jan 28, 2025
1 parent 6543af4 commit 74381b6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public PlcDiscoveryRequest.Builder discoveryRequestBuilder() {
if("Could not initialize class com.sun.jna.Native".equals(e.getMessage()) && e.getCause() instanceof UnsatisfiedLinkError) {
log.error("Could not discover devices as there were issues loading the pcap wrapper. Please make sure you have set the \"-Djna.library.path\" VM option correctly.");
}
throw new RuntimeException(e);
}
}

Expand Down

0 comments on commit 74381b6

Please sign in to comment.