Skip to content

Commit

Permalink
chore: prevent access to unset attribute of BaseError (DEV-2158) #364
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed May 12, 2023
1 parent 1e4d427 commit b0e089d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsp_tools/models/exceptions.py
Expand Up @@ -18,7 +18,7 @@ class BaseError(Exception):
message: str
status_code: Optional[int]
json_content_of_api_response: Optional[str]
original_error_msg_from_api: Optional[str]
original_error_msg_from_api: Optional[str] = None
reason_from_api_response: Optional[str]
api_route: Optional[str]

Expand Down

0 comments on commit b0e089d

Please sign in to comment.