Skip to content

Commit

Permalink
[response] Add defaults to http response error (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerm-iguazio authored Feb 14, 2024
1 parent 64d4799 commit 1967f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v3io/dataplane/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class HttpResponseError(Exception):
"""Exception raised on bad http status"""

def __init__(self, message, status_code):
def __init__(self, message="", status_code=None):
super().__init__(message)
self.status_code = status_code

Expand Down

0 comments on commit 1967f8c

Please sign in to comment.