{"library":"babel-plugin-catch-logger","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.13","tags":["javascript","babel","catch","sentry","report"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-catch-logger","imports":["import catchLogger from 'babel-plugin-catch-logger'","import * as Sentry from '@sentry/node'","import { captureException } from '@sentry/node'"]},{"cmd":"yarn add babel-plugin-catch-logger","imports":[]},{"cmd":"pnpm add babel-plugin-catch-logger","imports":[]}],"homepage":null,"github":"https://github.com/catmorphic/babel-plugin-catch-logger","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-catch-logger","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-catch-logger/compatibility"}}