Skip to content

Commit

Permalink
[add] log an error if a plugin is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
begla committed Jun 18, 2024
1 parent 5008e5e commit ab4a717
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iolite_plugins/update_build_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ab4a717

Please sign in to comment.