Explorar el Código

HUE-8888 [connector] Avoid stack trace when Oozie is disabled

Romain hace 6 años
padre
commit
bb7c8828c6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/oozie_batch.py

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

@@ -38,7 +38,7 @@ try:
   from oozie.views.dashboard import check_job_access_permission, check_job_edition_permission
   from oozie.views.editor2 import _submit_workflow
 except Exception as e:
-  LOG.exception('Oozie application is not enabled: %s' % e)
+  LOG.warn('Oozie application is not enabled: %s' % e)
 
 
 class OozieApi(Api):