cloudflare / cloudflare/foundations

Global callback for non-fatal error reporting

Open
#212 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.7k
Forks
133
Avg merge
1d 5h
Merged PRs (30d)
11

Description

We have a bunch of places where we can encounter errors, but don't want to (or can't) bubble them up to the user. Instead of hardcoding some logic in those places (e.g., logging, metric increment, panic, ...), we should allow users to set a global hook to take notice of such errors.

The motivating example is reporting sentry events - we don't want to depend on a specific sentry version, but our users can.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.