Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn instead of Error on unrecognized user tz (#1859)
* Warn instead of Error on unrecognized user tz Instead of erroring out on `/playbook todo` or the weekly digest message, just log a warning when a user's timezone isn't recognized: ``` {"timestamp":"2023-07-21 14:03:56.435 -03:00","level":"warn","msg":"failed to get user timezone","caller":"app/plugin_api.go:979","plugin_id":"playbooks","error":"unknown time zone Asia/Jerusalem2","user_id":"soa5qdiwnig8dkmekej37p8gmw","plugin_caller":"github.com/mattermost/mattermost-plugin-playbooks/server/app/playbook_run_service.go:2262"} ``` In practice, this won't occur because the timezone is really invalid, but because the operating system lacks the necessary tzdata. * e2e tests on mattermost-cloud:latest
- Loading branch information