Replace silent swallow-excepts (pass/return/continue) with logger.warning recording the caught error, preserving behaviour.