Skip to content

Commit da6b0a3

Browse files
committed
xerrors
1 parent a8aea9f commit da6b0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/notifications/reports/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func NewReportGenerator(ctx context.Context, logger slog.Logger, db database.Sto
5252
err = reportFailedWorkspaceBuilds(ctx, logger, db, enqueuer, clk)
5353
if err != nil {
5454
logger.Debug(ctx, "unable to generate reports with failed workspace builds")
55-
return err
55+
return xerrors.Errorf("unable to generate reports with failed workspace builds: %w", err)
5656
}
5757

5858
logger.Info(ctx, "report generator finished", slog.F("duration", clk.Since(start)))

0 commit comments

Comments
 (0)