Skip to content

Commit 790ff33

Browse files
committed
improve errors handling
1 parent 157e086 commit 790ff33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

coderd/notifications/notifier.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ const (
2727
notificationsDefaultAppName = "Coder"
2828
)
2929

30-
var (
31-
errDecorateHelpersFailed = xerrors.New("failed to decorate helpers")
32-
)
30+
var errDecorateHelpersFailed = xerrors.New("failed to decorate helpers")
3331

3432
// notifier is a consumer of the notifications_messages queue. It dequeues messages from that table and processes them
3533
// through a pipeline of fetch -> prepare -> render -> acquire handler -> deliver.

0 commit comments

Comments
 (0)