Skip to content

Commit

Permalink
Removed debug comments
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Feb 4, 2022
1 parent 2dacd69 commit 2bce472
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions daliuge-common/dlg/restutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,12 @@ def _request(self, url, method, content=None, headers={}):
# Server errors are encoded in the body as json content
if self._resp.status != http.HTTPStatus.OK:

msg = "Error on remote %s@%s:%s%s (status %d) (body %s): " % (
msg = "Error on remote %s@%s:%s%s (status %d): " % (
method,
self.host,
self.port,
url,
self._resp.status,
self._resp.read().decode("utf-8")
)

try:
Expand Down

0 comments on commit 2bce472

Please sign in to comment.