diff --git a/csst_common/utils/_retry.py b/csst_common/utils/_retry.py
index b41638cefe6331dbeceec438f2e50bce175cd971..0e4ff1d0600ed54dea32a144d3012fb3b2a03f97 100644
--- a/csst_common/utils/_retry.py
+++ b/csst_common/utils/_retry.py
@@ -30,4 +30,7 @@ def retry(func, *args, **kwargs):
             return res
         except BaseException as e:
             print(f"Error occurs: {e.__repr__()}")
+            print(f" - func: {func}")
+            print(f" - args: {args}")
+            print(f" - kwargs: {kwargs}")
     raise RuntimeError(f"All {n_try} attempts failed.")