mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
gob register AppError (#9182)
This allows plugin hooks to return the result of calling the API as an `error`.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user