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

sruehl 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 3f5c06f944 fix(bacnet): Don't fail the build when the vendor id can't 
be downlaoded. (#2378)
3f5c06f944 is described below

commit 3f5c06f944a517fa3d13aef1629ee55bf683de4c
Author: Ben Hutcheson <[email protected]>
AuthorDate: Wed Jan 14 19:03:13 2026 +1100

    fix(bacnet): Don't fail the build when the vendor id can't be downlaoded. 
(#2378)
---
 protocols/bacnetip/src/main/script/getVendorIds.groovy | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/protocols/bacnetip/src/main/script/getVendorIds.groovy 
b/protocols/bacnetip/src/main/script/getVendorIds.groovy
index 6eaf587ceb..511f7eb9f3 100644
--- a/protocols/bacnetip/src/main/script/getVendorIds.groovy
+++ b/protocols/bacnetip/src/main/script/getVendorIds.groovy
@@ -50,6 +50,9 @@ if (update) {
         println "Successfully updated BACnet Vendor IDs.htm"
     } catch (Exception e) {
         println "Got an error updating BACnet Vendor IDs.htm. Intentionally 
not failing the build as we might just be offline: " + e.getMessage()
+        // If we can't update the vendor id file, it may be older and we run 
the risk of incorrectly updating the repo with an older version.
+        // The vendor id website also has a cloudfare check which depending on 
the location may fail the build.
+        return
     }
 } else {
     println "Skipped updating BACnet Vendor IDs.htm as it's fresh enough"

Reply via email to