diff --git a/main.go b/main.go index 650d556..f167ff0 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ func get_(symbol string) (error) { return err } switch resp.StatusCode { - case 401, 429: + case 401, 429, 500: throttle = true return fmt.Errorf("%s", resp.Status) err_(symbol,0) // do not limit retries