0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

Improve internal error response data structure.

This commit is contained in:
Andrey Antukh 2020-08-19 13:04:02 +02:00
parent 56237671ed
commit fc01690315

View file

@ -59,7 +59,7 @@
(with-out-str
(.printStackTrace ^Throwable err (java.io.PrintWriter. *out*))))
{:status 500
:body {:type :exception
:body {:type :internal-error
:message (ex-message err)
:data (ex-data err)}})