We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6abff16 commit 6625f89Copy full SHA for 6625f89
prometheus_client/process_collector.py
@@ -83,7 +83,7 @@ def collect(self):
83
'Number of open file descriptors.',
84
len(os.listdir(os.path.join(pid, 'fd'))))
85
result.extend([open_fds, max_fds])
86
- except IOError:
+ except (IOError, OSError):
87
pass
88
89
return result
0 commit comments