Skip to content

Commit

Permalink
Uncapitalize error string
Browse files Browse the repository at this point in the history
  • Loading branch information
icza committed Jan 16, 2024
1 parent 68faede commit 9a53a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (p *Protocol) decodeEvts(d decoder, evtidTypeid int, etypes []EvtType, decU
// Protect the events decoding:
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf("Failed to decode events: %v", r)
err = fmt.Errorf("failed to decode events: %v", r)
log.Println(err)
}
// Successfully decoded events will be returned
Expand Down

0 comments on commit 9a53a75

Please sign in to comment.