diff --git a/impala/sasl_compat.py b/impala/sasl_compat.py index a49c37f81..731f8e87a 100644 --- a/impala/sasl_compat.py +++ b/impala/sasl_compat.py @@ -7,7 +7,7 @@ def error_catcher(self, Exc = Exception): self.error = None yield except Exc as e: - self.error = e.message + self.error = str(e) class PureSASLClient(SASLClient):