Skip to content

Commit e9bb1bb

Browse files
joshuapCopilot
andauthored
chore: more generic error message
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f01b5d5 commit e9bb1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/hbapi/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func (n *Number) UnmarshalJSON(data []byte) error {
3232
return nil
3333
}
3434

35-
return fmt.Errorf("Number: cannot unmarshal %s into integer or string", data)
35+
return fmt.Errorf("Number: cannot unmarshal value into integer or string")
3636
}
3737

3838
// User represents a Honeybadger user

0 commit comments

Comments
 (0)