diff --git a/api/http/offlinegate/offlinegate.go b/api/http/offlinegate/offlinegate.go index aabe813af..fd5a3a873 100644 --- a/api/http/offlinegate/offlinegate.go +++ b/api/http/offlinegate/offlinegate.go @@ -41,8 +41,8 @@ func (o *OfflineGate) WaitingMiddleware(timeout time.Duration, next http.Handler } if !o.lock.RTryLockWithTimeout(timeout) { - log.Error().Msg("timeout waiting for the offline gate to signal") - httperror.WriteError(w, http.StatusRequestTimeout, "Timeout waiting for the offline gate to signal", http.ErrHandlerTimeout) + log.Error().Str("url", r.URL.Path).Msg("request timed out while waiting for the backup process to finish") + httperror.WriteError(w, http.StatusRequestTimeout, "Request timed out while waiting for the backup process to finish", http.ErrHandlerTimeout) return } next.ServeHTTP(w, r)