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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to