mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Add /api/stats/upstreams and /api/stats/database/upstreams documentation
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user