mattermost/mattermost-plugin-mscalendar
Any user-facing error messages should be user-friendly
开放
#189 创建于 2020年9月7日
Difficulty/2:MediumGood First IssueHacktoberfestHelp WantedTech/GoType/EnhancementUp For Grabs
仓库指标
- 星标
- (22 个星标)
- PR 合并指标
- (平均合并 2天 7小时) (30 天内合并 10 个 PR)
描述
Often times we show raw errors to the user, sometimes even in JSON form. We should make it so any user-facing error that is not specially crafted to be something of the effect "An error occurred, please contact your Mattermost administrator."
An error like this is returned to the UI when creating a subscription fails:
There has been a problem setting the property, err=msgraph CreateMySubscription: 401 Unauthorized: {"error":{"code":"InvalidAuthenticationToken","message":"CompactToken parsing failed with error code: 80049217","innerError":{"date":"2020-09-07T06:33:50","request-id":"32c9434c-3c46-4e29-9b68-478604c75636"}}}
