Automatic error capture
Production error monitoring with automatic capture, stack trace analysis, error grouping, and alerting. Self-hosted for data privacy and GDPR compliance.
import { sylphx } from '@sylphx/sdk'
try {
await riskyOperation()
} catch (error) {
sylphx.errors.capture(error, {
userId: user.id,
context: { orderId: '123' },
})
}import { sylphx } from '@sylphx/sdk'
// Auto-capture all unhandled errors
sylphx.errors.init({
dsn: process.env.SYLPHX_ERROR_DSN,
environment: 'production',
})Looking for more examples?
View on GitHub