Open pcrespov opened 5 months ago
exclusive mechanism for background tag is periodically logging an error in storage and RUT:
exclusive
This is logged by catch_log and stopped from raising ... (see raise=False)
catch_log
raise=False
https://github.com/itisfoundation/osparc-simcore/blob/1f86f671df80ee38e6a5f99a62fc71f2e6787b2c/packages/service-library/src/servicelib/redis.py#L124-L128
This probably means that the log.exception (inside of log_catch) should be suppressed as well.
log.exception
log_catch
Before that please:
_extend_lock
suppress(Exception)
are you sure this is for me?
it's for me, must have been an error.
exclusive
mechanism for background tag is periodically logging an error in storage and RUT:This is logged by
catch_log
and stopped from raising ... (seeraise=False
)https://github.com/itisfoundation/osparc-simcore/blob/1f86f671df80ee38e6a5f99a62fc71f2e6787b2c/packages/service-library/src/servicelib/redis.py#L124-L128
This probably means that the
log.exception
(inside oflog_catch
) should be suppressed as well.Before that please:
_extend_lock
periodic task.suppress(Exception)
context manager istead oflog_catch