Commit 0df8417b authored by Jacob Vosmaer's avatar Jacob Vosmaer

Less precision on 'bad gateway' errors

Hopefully this will lead to better grouping of errors in Sentry.
parent 10dacbf0
......@@ -83,7 +83,7 @@ func (t *RoundTripper) RoundTrip(r *http.Request) (res *http.Response, err error
if err != nil {
helper.LogError(
r,
&Error{fmt.Errorf("badgateway: failed after %.3fs: %v", time.Since(start).Seconds(), err)},
&Error{fmt.Errorf("badgateway: failed after %.fs: %v", time.Since(start).Seconds(), err)},
)
res = &http.Response{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment