소스 검색

HUE-6116 [editor] Avoid js error when fetch result size in not available

Romain Rigaux 8 년 전
부모
커밋
1aa7802
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/base.py

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

@@ -262,7 +262,7 @@ class Api(object):
     pass
 
   def fetch_result_size(self, notebook, snippet):
-    pass
+    raise OperationNotSupported()
 
   def download(self, notebook, snippet, format):
     pass