mattermost / mattermost/mattermost-plugin-gitlab
Fix logs and error response for all functions in instance.go
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 152
- Forks
- 97
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 8
Description
Some functions in instance.go log errors and return generic messages like “instance config map is empty.” We should clean this up so each function returns a clear error and a user-friendly message, without duplicating logs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading instance.go and inventorying each function that logs an error or returns generic text. Trace the existing error paths, then verify that each function exposes a clear, user-friendly message without duplicate logging; the issue provides no test file to run, so validate the affected functions through the existing project checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100