Compare commits

..

No commits in common. "94d448e90522f70c699df4a8810a20805d7af70c" and "43cd0c4308ceefa07bb18931b715efd0a98e8f2d" have entirely different histories.

View File

@ -17,7 +17,7 @@ var (
clk chan bool
wg sync.WaitGroup
freq = time.Second
freq = time.Second * 15
throttle bool
errs map[string]int
mu sync.Mutex
@ -61,9 +61,8 @@ func get_(symbol string) (error) {
_, err = io.Copy(out, resp.Body)
resp.Body.Close()
if err != nil {
fmt.Printf("%s: Error copying to file.", symbol)
err_(symbol,1)
return fmt.Errorf("%s", resp.Status)
fmt.Println("Error copying to file.")
os.Exit(-1)
}
out.WriteString("\n")
out.Close()