mirror of
https://github.com/quexten/goldwarden.git
synced 2024-11-24 06:17:44 +03:00
Fix formatstring
This commit is contained in:
parent
8e88c8d8d8
commit
75c7a42a3c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user