diff --git a/iolite_plugins/update_build_metadata.py b/iolite_plugins/update_build_metadata.py index 7b67ac8..c37576b 100644 --- a/iolite_plugins/update_build_metadata.py +++ b/iolite_plugins/update_build_metadata.py @@ -31,6 +31,9 @@ def hash_djb2(b): checksum = hash_djb2(plugin_data) checksum_with_salt = hash_djb2(bytes("{}{}".format(checksum, sys.argv[1]), "ascii")) p["checksum"] = checksum_with_salt + else: + print("Plugin '{}' not found. Skipping checksum generation...".format(dll_filepath)) + with open(json_filepath, "w") as plugins_json: json.dump(plugins, plugins_json, indent=2)