Этот коммит содержится в:
=Corey Hulen
2015-08-20 14:20:39 -07:00
родитель 8b3bbc5fb9
Коммит 3f0ec24dc1
3 изменённых файлов: 17 добавлений и 7 удалений

Просмотреть файл

@@ -5,6 +5,7 @@ package model
import (
"bytes"
l4g "code.google.com/p/log4go"
"fmt"
"io/ioutil"
"net/http"
@@ -93,6 +94,7 @@ func getCookie(name string, resp *http.Response) *http.Cookie {
func (c *Client) Must(result *Result, err *AppError) *Result {
if err != nil {
l4g.Close()
time.Sleep(time.Second)
panic(err)
}