mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Add stderr output
This commit is contained in:
parent
cf0e3e51d8
commit
f09528a779
@ -174,6 +174,7 @@ def get_bandwidth_stats(config) -> dict[str, dict]:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
|
logger.error(f"Error getting network stats :: {p.stderr}")
|
||||||
return usages
|
return usages
|
||||||
else:
|
else:
|
||||||
lines = p.stdout.split("\n")
|
lines = p.stdout.split("\n")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user