When a failure occurs performing strconv.ParseInt, the error
message is printed and propagated without any manipulation. This
means Drone will display the error message:
strconv.ParseInt: parsing "": invalid syntax which is not very
helpful.
This change wraps the parse error with additional information
regarding the param which failed so operators can debug easier.
When a failure occurs performing strconv.ParseInt, the error message is printed and propagated without any manipulation. This means Drone will display the error message:
strconv.ParseInt: parsing "": invalid syntax
which is not very helpful.This change wraps the parse error with additional information regarding the param which failed so operators can debug easier.