mirror of
https://github.com/warmbly/warmbly.git
synced 2026-09-07 16:02:16 +00:00
14 lines
283 B
Go
14 lines
283 B
Go
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()),
|
|
)
|
|
}
|