diff --git a/src/callbacks.py b/src/callbacks.py index 7e1344249..82cd203ce 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -419,7 +419,7 @@ class RichReplyMethods(object): def _error(self, s, Raise, **kwargs): if Raise: - raise callbacks.Error, s + raise Error, s else: self.error(s, **kwargs)