Avoid overly broad exception handlers
Catching `Exception` or `BaseException` makes error handling too broad.
#Metadata
#Why it matters
Broad handlers hide programming errors and can interfere with expected process-level exceptions.
#Remediation
Catch only the concrete exception classes this block can recover from.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/python/py.correctness.broad-exception-handler.rule.yaml.