cloudflare / cloudflare/foundations
Global callback for non-fatal error reporting
Open
- 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
Assessment
This issue has not been assessed yet.