Unreviewed changes
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: internal/api/params.go
Insertions: 1, Deletions: 1.
@@ -201,7 +201,7 @@
}
iv, err := strconv.ParseInt(val, 10, field.Type().Bits())
if err != nil {
- return fmt.Errorf("invalid value %q for %s", val, tag)
+ return fmt.Errorf("invalid integer value %q for %s", val, tag)
}
field.SetInt(iv)
case reflect.Bool:
```
Change information
Commit message:
internal/api: avoid leaking internal parsing errors
Avoid leaking internal errors such as the following:
{"code":400,"message":"invalid value \"abc\" for limit: strconv.ParseInt: parsing \"abc\": invalid syntax"}
Change-Id: Id5c6e6a86e0b079d86c555923f8d765abdaac271
Files:
- M internal/api/params.go
- M internal/tests/api/api_test.go
Change size: XS
Delta: 2 files changed, 3 insertions(+), 3 deletions(-)
Branch: refs/heads/master