sourcegraph/lib/api
Randell Callahan 5a3fda4bd6
executors: Provide more context when the semantic version is invalid (#55024)
The annoying error of `Invalid Semantic Version` tells us nothing and
makes troubleshooting the issue difficult with lots of churn.

I have update Executor usage of `semvar.NewVersion` to wrap the error
with a message that include the actual version that causes the error.
This will help us understand the specific version string that is causing
the error and more quickly determine _why_ the version is getting
injected.

## Test plan

Update/add Go tests.
2023-07-17 13:59:46 -06:00
..
BUILD.bazel executors: Provide more context when the semantic version is invalid (#55024) 2023-07-17 13:59:46 -06:00
version_check_test.go executors: Provide more context when the semantic version is invalid (#55024) 2023-07-17 13:59:46 -06:00
version_check.go executors: Provide more context when the semantic version is invalid (#55024) 2023-07-17 13:59:46 -06:00