소스 검색

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()