Skip to content

Commit

Permalink
use colon
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Aug 20, 2024
1 parent 623cc4e commit 7a47fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc/backend/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewInternalError(msg string) *InternalError {
}

func (e *InternalError) Error() string {
return "internal jsonrpc error; " + e.msg
return "internal jsonrpc error: " + e.msg

Check warning on line 33 in jsonrpc/backend/errors.go

View check run for this annotation

Codecov / codecov/patch

jsonrpc/backend/errors.go#L32-L33

Added lines #L32 - L33 were not covered by tests
}

func (e *InternalError) ErrorCode() int {
Expand Down

0 comments on commit 7a47fb4

Please sign in to comment.