summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/client.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/model/client.go b/model/client.go
index ab01e7d62..e22f2308e 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)
}