Skip to content

Commit

Permalink
fix super call
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed May 25, 2024
1 parent 09e320e commit ed41e47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llmfoundry/utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ def __init__(self, message: str, **kwargs: Any) -> None:
setattr(self, key, value)
self.serializable_attributes.append(key)

def __str__(self) -> str:
return self.error
super().__init__(message)

def __reduce__(self):
if self.__class__ == BaseContextualError:
Expand Down

0 comments on commit ed41e47

Please sign in to comment.