From 8151a4a2dc3b3ad0e780a05d327f0b5264b23fa6 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 26 Jan 2017 22:48:36 +0100 Subject: [PATCH] error message --- common/serial/typed_message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/serial/typed_message.go b/common/serial/typed_message.go index ed5cfdac..197e4193 100644 --- a/common/serial/typed_message.go +++ b/common/serial/typed_message.go @@ -25,7 +25,7 @@ func GetMessageType(message proto.Message) string { func GetInstance(messageType string) (interface{}, error) { mType := proto.MessageType(messageType) if mType == nil || mType.Elem() == nil { - return nil, errors.New("Unknown type: " + messageType) + return nil, errors.New("Serial: Unknown type: " + messageType) } return reflect.New(mType.Elem()).Interface(), nil }