Skip to content

Commit a2a2e06

Browse files
authored
Merge pull request #4740 from barnabasdomozi/oserr_log
Log full OS error message when the connection fails
2 parents 7b89545 + e952a95 commit a2a2e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/client/codechecker_client/thrift_call.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def wrapper(self, *args, **kwargs):
117117
sys.exit(1)
118118
except OSError as oserr:
119119
LOG.error("Connection failed.")
120-
LOG.error(oserr.strerror)
120+
LOG.error("OS Error: %s", str(oserr))
121121
LOG.error("Check if your CodeChecker server is running.")
122122
sys.exit(1)
123123
finally:

0 commit comments

Comments
 (0)