5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 06:12:02 +08:00

Bugfix error message

This commit is contained in:
Lea Anthony 2020-12-16 08:53:11 +11:00
parent dd35f0119b
commit e6fbd03346
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -27,7 +27,7 @@ func Parse(message string) (*parsedMessage, error) {
parseMethod := messageParsers[message[0]] parseMethod := messageParsers[message[0]]
if parseMethod == nil { if parseMethod == nil {
return nil, fmt.Errorf("message type '%b' invalid", message[0]) return nil, fmt.Errorf("message type '%c' invalid", message[0])
} }
return parseMethod(message) return parseMethod(message)