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 3b8db30 commit c94c579Copy full SHA for c94c579
CHANGELOG.md
@@ -1,6 +1,8 @@
1
# Changelog
2
3
## [Unreleased]
4
+### Fixed
5
+- Client crash in case of Client ID reading error, by @HardNorth
6
7
## [5.3.2]
8
### Fixed
reportportal_client/services/client_id.py
@@ -79,7 +79,12 @@ def _store_client_id(client_id):
79
80
def get_client_id():
81
"""Return unique client ID of the instance, generate new if not exists."""
82
- client_id = _read_client_id()
+ client_id = None
83
+ try:
84
+ client_id = _read_client_id()
85
+ except (PermissionError, IOError) as error:
86
+ logger.exception('[%s] Unknown exception has occurred. '
87
+ 'Skipping client ID reading.', error)
88
if not client_id:
89
client_id = str(uuid4())
90
try:
0 commit comments