Console Log Updates, Specify min supported ZeroNet version for Rust version Protocol Compatibility

Reduce noise(error => warning) on file missing in sites.
This commit is contained in:
canewsin 2022-06-09 22:38:57 +05:30
parent 712ee18634
commit 016cfe9e16
3 changed files with 11 additions and 6 deletions

View file

@ -373,7 +373,7 @@ class SiteStorage(object):
with self.open(inner_path, "r", encoding="utf8") as file:
return json.load(file)
except Exception as err:
self.log.error("Json load error: %s" % Debug.formatException(err))
self.log.warning("Json load error: %s" % Debug.formatException(err))
return None
# Write formatted json file