Skip to content

Commit

Permalink
refactor: ♻️ demote error to info in get_data() (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
KANAjetzt committed Jan 26, 2025
1 parent 1422a20 commit 91f751a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mod_loader/internal/cache.gd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ static func add_data(key: String, data: Dictionary) -> Dictionary:
# Get data from a specific key
static func get_data(key: String) -> Dictionary:
if not ModLoaderStore.cache.has(key):
ModLoaderLog.error("key: \"%s\" not found in \"ModLoaderStore.cache\"" % key, LOG_NAME)
ModLoaderLog.info("key: \"%s\" not found in \"ModLoaderStore.cache\"" % key, LOG_NAME)
return {}

return ModLoaderStore.cache[key]
Expand Down

0 comments on commit 91f751a

Please sign in to comment.