소스 검색

HUE-6634 [importer] Provide error to user when Sentry permissions are missing

Romain Rigaux 8 년 전
부모
커밋
82aaeac
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 1 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -1708,7 +1708,7 @@ ${ assist.assistPanel() }
           "destination": ko.mapping.toJSON(self.destination),
           "start_time": ko.mapping.toJSON((new Date()).getTime())
         }, function (resp) {
-          if (resp.history_uuid) {
+          if (resp.status == 0 && resp.history_uuid) {
             $.jHueNotify.info("${ _('Task submitted.') }");
             huePubSub.publish('notebook.task.submitted', resp.history_uuid);
           } else {