1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 17:23:00 +00:00

utils/httputil: Fix build error from previous commit

This commit is contained in:
diamondburned 2021-11-29 12:41:13 -08:00
parent 1e14369fc0
commit 7af6e23569
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -47,7 +47,7 @@ type HTTPError struct {
func (err HTTPError) Error() string { func (err HTTPError) Error() string {
switch { switch {
case err.Errors != "": case err.Errors != nil:
return fmt.Sprintf("Discord %d error: %s: %s", err.Status, err.Message, err.Errors) return fmt.Sprintf("Discord %d error: %s: %s", err.Status, err.Message, err.Errors)
case err.Message != "": case err.Message != "":