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 c7e17a6db..ad1e4b5f1 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)
}