diff --git a/lib/setup/setup.go b/lib/setup/setup.go index 44c65652..39f7ca34 100644 --- a/lib/setup/setup.go +++ b/lib/setup/setup.go @@ -31,7 +31,7 @@ type Multihandler struct { func (h Multihandler) Enabled(ctx context.Context, record slog.Level) bool { // The JSON handler should be the furthest we're going. - return h.sentry.Enabled(ctx, record) + return h.json.Enabled(ctx, record) } func (h Multihandler) WithAttrs(attrs []slog.Attr) slog.Handler { var s slog.Handler