mattermost-plugin-gitlab
mattermost-plugin-gitlab copied to clipboard
Disable warning for expired tokens
Dear team,
first things first: Thank you for working on this great plugin!
In our production setup, logs are filled up with warning about expired tokens similar to:
{"timestamp":"2023-01-23 11:03:28.651 +01:00","level":"warn","msg":"Unable to list unreads in GitLab API","caller":"app/plugin_api.go:979","plugin_id":"com.github.manland.mattermost-plugin-gitlab","userid":"xxx","gitlab username":"xxx","gitlab userid":"xxx","error":"can't list todo in GitLab api: GET https://gitlab.com/api/v4/todos: 401 {error: invalid_token}, {error_description: Token is expired. You can either do re-authorization or token refresh.}"}
We would therefore appreciate an option to turn off this and similar notifications which an admin can only do little about. Thanks a lot! :)