Fix minor issues on error reporting.

This commit is contained in:
Andrey Antukh 2022-01-17 13:08:29 +01:00
parent b6f460940f
commit bda97adf4f
4 changed files with 5 additions and 3 deletions

View file

@ -34,7 +34,6 @@
:data (some-> data (dissoc ::s/problems ::s/value :hint))
:ip-addr (parse-client-ip request)
:profile-id (:profile-id request)}
(let [headers (:headers request)]
{:user-agent (get headers "user-agent")
:frontend-version (get headers "x-frontend-version" "unknown")}))))