Skip to content

Commit b2d3fb8

Browse files
author
Matthew Lynch
committed
remove response body from error logging
1 parent 5d1680b commit b2d3fb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rsconnect/api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ def handle_bad_response(self, response):
5252
raise RSConnectException(error)
5353
if response.status < 200 or response.status > 299:
5454
raise RSConnectException(
55-
"Received an unexpected response from %s (calling %s): %s %s\n%s"
55+
"Received an unexpected response from %s (calling %s): %s %s"
5656
% (
5757
self.remote_name,
5858
response.full_uri,
5959
response.status,
6060
response.reason,
61-
response.response_body,
6261
)
6362
)
6463

0 commit comments

Comments
 (0)