Logo
Explore Help
Sign In
starred/warmbly
Watch 1
Star 0
Fork 0
mirror of https://github.com/warmbly/warmbly.git synced 2026-09-07 16:02:16 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
warmbly/internal/app/consumer/err.go
T
Matthew Meszaros 51dedc90ee feat: put every runtime behind one optional error-reporting story: a single internal/observability/errs wrapper that is now the only package importing sentry-go, InitSentry for cmd/forms, release and environment tags on every service from the existing build stamp, optional Sentry in the admin panel and the public forms app, the sentry crate in the Rust tracking service, release tagging in realtime, CI source-map upload that only runs when a Sentry token is configured, and docs covering the DSN for each service
2026-09-07 03:51:06 -07:00

14 lines
283 B
Go
Raw Permalink Blame History

package jobs
import (
"github.com/google/uuid"
"github.com/warmbly/warmbly/internal/observability/errs"
)
func CaptureError(userID, emailID uuid.UUID, err error) {
errs.CaptureException(err,
errs.Tag("user_id", userID.String()),
errs.Tag("email_id", emailID.String()),
)
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 27.3.1 Page: 27ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API