From 43d32af540cc1be0cab4baab443a4d3624e4c7ca Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 18 Jan 2021 23:27:30 +0100 Subject: [PATCH] :sparkles: Minor fix on telemetry http handler. --- backend/src/app/telemetry.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/app/telemetry.clj b/backend/src/app/telemetry.clj index 6251f53ae..c79ce5ffc 100644 --- a/backend/src/app/telemetry.clj +++ b/backend/src/app/telemetry.clj @@ -83,7 +83,9 @@ :data (dissoc params :instance-id))] (px/run! executor (partial process-request cfg))) (catch Exception e - (log/errorf e "Unexpected error."))) + ;; We don't want notify user of a error, just log it for posible + ;; future investigation. + (log/warnf e "Unexpected error on telemetry."))) {:status 200 :body "OK\n"})