Empty Catch Block Checker

Find empty catch blocks, except: pass and ignored Go errors in any language. Free and private: runs in your browser.

Paste code to find exceptions that are silently swallowed, one of the most common causes of hard-to-debug production issues.

Runs entirely in your browser. Nothing you paste is uploaded or stored.

Use cases

  • Check a function before opening a pull request.
  • Explain a review comment with numbers instead of opinions.
  • Find the riskiest code to refactor first.

Frequently asked questions

Is an empty catch ever OK?

Rarely. If ignoring an error is intentional, catch the specific exception and leave a comment explaining why; otherwise log it or rethrow.

Is the Empty Catch Block Checker free?

Yes. It is free with no sign-up, and it runs entirely in your browser, so your input is never uploaded or stored.

How accurate is a browser-based code check?

It uses fast heuristics on the snippet you paste, so it is great for quick feedback. For whole repositories, cross-file analysis and history, run a full CodeInspector scan.

Related tools

Checking one snippet is a start. Scan your whole repository for free with CodeInspector.

All free developer tools