koconder commented on code in PR #23891:
URL: https://github.com/apache/airflow/pull/23891#discussion_r881310731


##########
airflow/providers/alibaba/cloud/hooks/oss.py:
##########
@@ -163,7 +161,7 @@ def load_string(self, key: str, content: str, bucket_name: 
Optional[str] = None)
         try:
             self.get_bucket(bucket_name).put_object(key, content)
         except Exception as e:
-            raise AirflowException(f"Errors: {e}")
+            raise AirflowException(f"Errors: {e}") from e

Review Comment:
   @uranusjr i will revert this change, i see what you mean. Commit made now so 
resolving



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