Add /api/stats/upstreams and /api/stats/database/upstreams documentation

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-01-02 21:19:11 +01:00
parent 4936e0688f
commit c7803df604
10 changed files with 220 additions and 47 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def read_yaml_maybe_cache(file: str) -> dict:
try:
yamls[file] = yaml.safe_load(stream)
except Exception as e:
print("Exception when reading " + file + ": " + e)
print("Exception when reading " + file + ": " + str(e))
exit(1)
return yamls[file]