Skip to content

Commit

Permalink
fix: remove printf formatting in println call
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgtaylor committed Oct 17, 2024
1 parent 144c8d0 commit 4d1a046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sse/sse.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func Register[I any](api huma.API, op huma.Operation, eventTypeMap map[string]an
send := func(msg Message) error {
if deadliner != nil {
if err := deadliner.SetWriteDeadline(time.Now().Add(WriteTimeout)); err != nil {
fmt.Println("warning: unable to set write deadline: %w", err)
fmt.Println("warning: unable to set write deadline: " + err.Error())
}
} else {
fmt.Println("warning: unable to set write deadline")
Expand Down

0 comments on commit 4d1a046

Please sign in to comment.