Skip to content

Commit 0635c2b

Browse files
Catch host_info.py error
1 parent 9308cd8 commit 0635c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

continuous_integration/scripts/host_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def main() -> None:
3333
try:
3434
freqs = psutil.cpu_freq(percpu=True)
3535
# https://github.com/giampaolo/psutil/issues/2382
36-
except RuntimeError:
36+
except (AttributeError, RuntimeError):
3737
print("CPU frequency: not available")
3838
else:
3939
print("CPU frequency:")

0 commit comments

Comments
 (0)