Skip to content

Commit

Permalink
Allow repr(ModbusException) to return complete information (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cavaler authored Sep 12, 2023
1 parent 8902b08 commit dba7f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, string):
:param string: The message to append to the error
"""
self.string = string
super().__init__()
super().__init__(string)

def __str__(self):
"""Return string representation."""
Expand Down

0 comments on commit dba7f77

Please sign in to comment.