diff --git a/backend/src/app/tasks/telemetry.clj b/backend/src/app/tasks/telemetry.clj index 564021c3e6..44a232aeb0 100644 --- a/backend/src/app/tasks/telemetry.clj +++ b/backend/src/app/tasks/telemetry.clj @@ -60,10 +60,9 @@ :uri (:uri cfg) :headers {"content-type" "application/json"} :body (json/encode-str data)})] - - (when (not= 200 (:status response)) + (when (> (:status response) 206) (ex/raise :type :internal - :code :invalid-response-from-google + :code :invalid-response :context {:status (:status response) :body (:body response)}))))