jedcunningham commented on a change in pull request #17649:
URL: https://github.com/apache/airflow/pull/17649#discussion_r701135823
##########
File path: airflow/providers/cncf/kubernetes/utils/pod_launcher.py
##########
@@ -243,8 +244,10 @@ def read_pod_logs(
_preload_content=False,
**additional_kwargs,
)
- except BaseHTTPError as e:
- raise AirflowException(f'There was an error reading the kubernetes
API: {e}')
+ except BaseHTTPError:
+ self.log.exception(f'There was an error reading the kubernetes
API.')
Review comment:
```suggestion
self.log.exception('There was an error reading the kubernetes
API.')
```
This should fix the static check failure.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]