Skip to content

Commit

Permalink
Resolve AttributeError within NicanError (#1806)
Browse files Browse the repository at this point in the history
Co-authored-by: Vijayakumar Subbiah <[email protected]>
  • Loading branch information
vijaysubbiah20 and Vijayakumar Subbiah authored Jun 27, 2024
1 parent b552f1d commit 174d560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can/interfaces/nican.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class NicanError(CanError):

def __init__(self, function, error_code: int, arguments) -> None:
super().__init__(
message=f"{function} failed: {get_error_message(self.error_code)}",
message=f"{function} failed: {get_error_message(error_code)}",
error_code=error_code,
)

Expand Down

0 comments on commit 174d560

Please sign in to comment.