Skip to content

Commit

Permalink
Fix formatstring
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Sep 20, 2023
1 parent 8e88c8d commit 75c7a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipc/messages/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func registerPayloadParser(payloadParser parsePayload, emptyPayload interface{})

func ParsePayload(message IPCMessage) interface{} {
if _, ok := messageTypes[message.Type]; !ok {
log.Error("Unregistered message type %s", string(message.Type))
log.Error("Unregistered message type %d", int(message.Type))
return nil
}
if payload, err := messages[messageTypes[message.Type]](message.Payload); err != nil {
Expand Down

0 comments on commit 75c7a42

Please sign in to comment.