ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
46 stars 27 forks source link

lock.reacquire() logs `LockNotOwedError` but probably should be silenced #5910

Open pcrespov opened 5 months ago

pcrespov commented 5 months ago

exclusive mechanism for background tag is periodically logging an error in storage and RUT: Pasted image 20240604112424

Pasted image 20240604110207

This is logged by catch_log and stopped from raising ... (see raise=False) image

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.

Before that please:

ignapas commented 5 months ago

are you sure this is for me?

GitHK commented 5 months ago

are you sure this is for me?

it's for me, must have been an error.