Preparing for system design interviews?  Try bugzed.com →

babel-plugin-catch-logger

JSON →
library 0.1.13 ·javascript
verified Jun 17, 2026

A Babel plugin that automatically adds catch clauses to uncaught Promises and attaches a logging call (e.g., Sentry.captureException) to all catch blocks and .catch() handlers. Version 0.1.13 is the latest stable release. It works by injecting a configurable import for your logging service and wrapping catch clauses with a logger invocation. Differentiators: zero manual instrumentation, adds logging to existing codebases without refactoring, supports both try-catch blocks and promise chains, and allows namespace or default imports for the logging library.

total hits 16
actors 4 distinct systems
last hit 18d ago AhrefsBot
ByteDance
6
GPTBot
4
Script
1
Humans
1

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany