influxdata / influxdata/kapacitor

Wrap errors in validation check for server/config.go

Open
#1,429 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Currently determining which service is causing a validation error https://github.com/influxdata/kapacitor/blob/master/server/config.go#L240-L362 isn't possible.

Errors should be wrapped for additional context.

Contributor guide

Open the contributing guide

Research direction

Start by reading the validation code in server/config.go around lines 240-362 and trace how errors are returned for each service. The work is done when validation errors identify the service that caused them through additional context; check the repository's existing validation coverage if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.