mattermost-plugin-gitlab icon indicating copy to clipboard operation
mattermost-plugin-gitlab copied to clipboard

Disable warning for expired tokens

Open phpfs opened this issue 2 years ago • 0 comments

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! :)

phpfs avatar Feb 03 '23 12:02 phpfs