XD-DENG commented on code in PR #27495:
URL: https://github.com/apache/airflow/pull/27495#discussion_r1014237212


##########
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:
   Hi @jedcunningham , for example, the msg says "Please make sure that 
apache-airflow[azure] is installed". This would hint users that the error is 
due to missing `apache-airflow[azure]` while it's not necessarily the root 
cause.
   
   I would suggest to make the error msg just general, plus adding the 
representation of the Exception itself.



-- 
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