summaryrefslogtreecommitdiffstats
path: root/model/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/client.go')
-rw-r--r--model/client.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/model/client.go b/model/client.go
index 9a144095a..17bb898ca 100644
--- a/model/client.go
+++ b/model/client.go
@@ -11,6 +11,7 @@ import (
"net/url"
"strconv"
"strings"
+ "time"
)
const (
@@ -92,6 +93,7 @@ func getCookie(name string, resp *http.Response) *http.Cookie {
func (c *Client) Must(result *Result, err *AppError) *Result {
if err != nil {
+ time.Sleep(time.Second)
panic(err)
}