You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/29 15:09:46 UTC

[GitHub] [airflow] bbovenzi commented on a change in pull request #16711: Add error message to dag dependency view

bbovenzi commented on a change in pull request #16711:
URL: https://github.com/apache/airflow/pull/16711#discussion_r660714012



##########
File path: airflow/www/static/js/dag_dependencies.js
##########
@@ -37,6 +37,12 @@ const g = new dagreD3.graphlib.Graph()
   })
   .setDefaultEdgeLabel(() => ({ lineInterpolate: 'basis' }));
 
+// Sometimes the data doesn't load when the scheduler isn't running.
+if (!nodes.length) {
+  $('#error').show();
+  $('#error_msg').text('There was an issue loading dependencies. Make sure everything is up and running, then try again.');

Review comment:
       I'll update the copy to say make sure you have dags.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org