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:
parent
1e14369fc0
commit
7af6e23569
|
@ -47,7 +47,7 @@ type HTTPError struct {
|
|||
|
||||
func (err HTTPError) Error() string {
|
||||
switch {
|
||||
case err.Errors != "":
|
||||
case err.Errors != nil:
|
||||
return fmt.Sprintf("Discord %d error: %s: %s", err.Status, err.Message, err.Errors)
|
||||
|
||||
case err.Message != "":
|
||||
|
|
Loading…
Reference in a new issue