mik-laj commented on a change in pull request #8279:
URL: https://github.com/apache/airflow/pull/8279#discussion_r415222730
##########
File path: airflow/www/views.py
##########
@@ -603,13 +603,25 @@ def dag_details(self, session=None):
def rendered(self):
dag_id = request.args.get('dag_id')
task_id = request.args.get('task_id')
+
+ dag = dagbag.get_dag(dag_id)
Review comment:
Can you change the order of these and next checks? We should not pass
parameters to other classes if they don't have the correct format.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]