From d77c5359be625516bb73cf899a3bc71c1f492619 Mon Sep 17 00:00:00 2001 From: Jianquan Ye Date: Tue, 17 Dec 2024 16:53:06 +1000 Subject: [PATCH] add -s --- src/sonic_ax_impl/mibs/ietf/rfc2737.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sonic_ax_impl/mibs/ietf/rfc2737.py b/src/sonic_ax_impl/mibs/ietf/rfc2737.py index 317ca4c4e..f6fa6d1c0 100644 --- a/src/sonic_ax_impl/mibs/ietf/rfc2737.py +++ b/src/sonic_ax_impl/mibs/ietf/rfc2737.py @@ -331,9 +331,8 @@ def reinit_data(self): try: updater.reinit_data() except BaseException as e: - print(f"!!!!Exception!{e}") + mibs.logger.error(f"Jianquan {e}, type{type(e)}") if isinstance(e, RuntimeError): - print(f"!!!!Runtime Exception!{e}") has_runtime_err = True # Log traceback so that we know the original error details mibs.logger.error(e, exc_info=True)