Generally errors should be wrapped using Wrap and Wrapf. This ticket is about going trough the code base and adding error wrapping everywhere where it's appropriate.
_Originally posted by @bakurits in https://github.com/mattermost/mattermost-plugin-github/pull/252_
I would like to work on that
Thanks @dbejanishvili. Let me know, if you have any questions.
It seems that the error returned from KVSet is ignored here, is this intentional? If not, should I fix it?
No, that error should not be ignore. Please fix it.
No, that error should not be ignore. Please fix it.
@hanzei don't you already resolved this in https://github.com/mattermost/mattermost-plugin-github/pull/252 ?
https://github.com/mattermost/mattermost-plugin-github/blob/0953348ee0956cd2478bfdbc97220f14a6261bc3/server/subscriptions.go#L243
You have eagle eyes @bakurits! That is correct, but I hope #260 gets merged before my PR and I can easily resolve the merge conflict. :wink:
Most helpful comment
I would like to work on that