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 2022/11/04 13:58:19 UTC
[GitHub] [airflow] XD-DENG commented on a diff in pull request #27495: Suppress any Exception in wasb task handler
XD-DENG commented on code in PR #27495:
URL: https://github.com/apache/airflow/pull/27495#discussion_r1014053747
##########
airflow/providers/microsoft/azure/log/wasb_task_handler.py:
##########
@@ -62,7 +60,7 @@ def hook(self):
from airflow.providers.microsoft.azure.hooks.wasb import WasbHook
return WasbHook(remote_conn_id)
- except AzureHttpError:
+ except Exception:
Review Comment:
If we are trying to catch everything here, the log msg below should be updated too as it was tailored for `AzureHttpError`. For example, we can included the exception detail itself into the log msg.
--
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