critical name error in auto-cpufreq --stats (#696)

This commit is contained in:
yezarniko 2024-05-11 00:49:57 +06:30 committed by GitHub
parent 14e1d2785d
commit a79ec81709
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -97,5 +97,5 @@ def ideapad_laptop_print_thresholds():
print(f'battery{b} stop threshold = {f.read()}', end="")
f.close()
except Exception:
except Exception as e:
print(f"ERROR: failed to read battery thresholds: {e}")