diff --git a/plugin/client_rpc.go b/plugin/client_rpc.go index 8e082ff801..dde4c5f2e6 100644 --- a/plugin/client_rpc.go +++ b/plugin/client_rpc.go @@ -67,6 +67,7 @@ func init() { gob.Register([]*model.SlackAttachment{}) gob.Register([]interface{}{}) gob.Register(map[string]interface{}{}) + gob.Register(&model.AppError{}) } // These enforce compile time checks to make sure types implement the interface