Add stderr output

This commit is contained in:
Nicolas Mowen 2023-09-14 16:34:03 -06:00 committed by GitHub
parent cf0e3e51d8
commit f09528a779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,6 +174,7 @@ def get_bandwidth_stats(config) -> dict[str, dict]:
)
if p.returncode != 0:
logger.error(f"Error getting network stats :: {p.stderr}")
return usages
else:
lines = p.stdout.split("\n")