QTZPOC-20

QTZPOC-20: Clarify broad exception handling in OPC repository and refactor asyncio imports in worker tests.
This commit is contained in:
2026-09-08 17:19:45 -03:00
parent 192834bde3
commit eb89917c5a
2 changed files with 2 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ def _opc_authentication_token_str(client: Client | None) -> str:
if tok is None:
return 'unknown'
return str(tok)
except Exception:
except Exception: # NOSONAR - best-effort label for logs/metrics, must not fail loud
return 'unknown'