diff --git a/pymodbus/exceptions.py b/pymodbus/exceptions.py index efc276a22..6e6a213d6 100644 --- a/pymodbus/exceptions.py +++ b/pymodbus/exceptions.py @@ -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."""