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)