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

hutcheb pushed a commit to branch plc4go/vendor_id_update_ignore
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 1d53b5f3b0c41041b45cd5cf73568c390e36c87d
Author: hutcheb <[email protected]>
AuthorDate: Sun Dec 7 15:13:13 2025 +0800

    fix(bacnet): Don't fail the build when the vendor id can't be downlaoded.
---
 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