0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Qualify json encoding warning log messages as errors

This commit is contained in:
Andrey Antukh 2023-07-06 17:44:49 +02:00 committed by Alejandro Alonso
parent 52ad26d4e7
commit 90f5b4b631

View file

@ -118,8 +118,7 @@
(t/write! tw data)))
(catch java.io.IOException _)
(catch Throwable cause
(l/warn :hint "unexpected error on encoding response"
:cause cause))
(l/error :hint "unexpected error on encoding response" :cause cause))
(finally
(.close ^OutputStream output-stream))))))
@ -132,8 +131,8 @@
(catch java.io.IOException _)
(catch Throwable cause
(l/warn :hint "unexpected error on encoding response"
:cause cause))
(l/error :hint "unexpected error on encoding response"
:cause cause))
(finally
(.close ^OutputStream output-stream))))))