Will It Vibe?
CQ-009High severity-15 points

Empty catch block

Part of Code Quality & Syntax, which counts for 20% of the overall score. When this check fires it deducts 15 points from that category, once per scan, no matter how many places it turns up.

What it detects

An empty catch/except block silently swallows errors, making failures invisible.

Why it matters

An empty catch or except-pass block means the operation can fail and the program carries on as if it succeeded. Users see silent data loss and buttons that "worked" but did nothing, and you get no log entry to debug from. It also hides every future bug that lands in that code path.

How to fix it

Decide what failure means at each site: if it is genuinely ignorable, catch only the specific expected error type and add a comment saying why ignoring is safe; otherwise log the error with context and either recover deliberately or rethrow. In Python, replace except-pass with a narrowed exception type plus logging.exception. Never leave the handler bodyless.

The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing

Does your repo trip this check?

Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.

Scan your repo

Related Code Quality & Syntax checks