Skip to content

Commit 91f751a

Browse files
committed
refactor: ♻️ demote error to info in get_data() (#526)
1 parent 1422a20 commit 91f751a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/mod_loader/internal/cache.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static func add_data(key: String, data: Dictionary) -> Dictionary:
3131
# Get data from a specific key
3232
static func get_data(key: String) -> Dictionary:
3333
if not ModLoaderStore.cache.has(key):
34-
ModLoaderLog.error("key: \"%s\" not found in \"ModLoaderStore.cache\"" % key, LOG_NAME)
34+
ModLoaderLog.info("key: \"%s\" not found in \"ModLoaderStore.cache\"" % key, LOG_NAME)
3535
return {}
3636

3737
return ModLoaderStore.cache[key]

0 commit comments

Comments
 (0)