diff --git a/src/surrealdb/connections/utils_mixin.py b/src/surrealdb/connections/utils_mixin.py index 1dbcc04e..8456e097 100644 --- a/src/surrealdb/connections/utils_mixin.py +++ b/src/surrealdb/connections/utils_mixin.py @@ -3,7 +3,7 @@ class UtilsMixin: @staticmethod def check_response_for_error(response: dict, process: str) -> None: if response.get("error") is not None: - raise Exception(f"error {process}: {response.get('error')}") + raise Exception(response.get('error')) @staticmethod def check_response_for_result(response: dict, process: str) -> None: