Преглед на файлове

HUE-8758 [notebook] Remove wrong parameter in QueryError exception

Romain преди 5 години
родител
ревизия
cca7ba069d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/base.py

+ 1 - 1
desktop/libs/notebook/src/notebook/connectors/base.py

@@ -300,7 +300,7 @@ class Notebook(object):
     handle = self.execute(request, batch=False)
 
     if handle['status'] != 0:
-      raise QueryError(e, message='SQL statement failed.', handle=handle)
+      raise QueryError(message='SQL statement failed.', handle=handle)
 
     operation_id = handle['history_uuid']
     curr = time.time()