Skip to content

Commit 0df2449

Browse files
committed
Prevent infinite loop in replay logger
1 parent 38ac4f5 commit 0df2449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/workflowstate/replaylogger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type replayHandler struct {
1212

1313
// Enabled implements slog.Handler.
1414
func (rh *replayHandler) Enabled(ctx context.Context, level slog.Level) bool {
15-
return rh.Enabled(ctx, level)
15+
return rh.hander.Enabled(ctx, level)
1616
}
1717

1818
// Handle implements slog.Handler.

0 commit comments

Comments
 (0)