mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 21:49:10 +00:00
✨ Improve internal error response data structure.
This commit is contained in:
parent
56237671ed
commit
fc01690315
@ -59,7 +59,7 @@
|
|||||||
(with-out-str
|
(with-out-str
|
||||||
(.printStackTrace ^Throwable err (java.io.PrintWriter. *out*))))
|
(.printStackTrace ^Throwable err (java.io.PrintWriter. *out*))))
|
||||||
{:status 500
|
{:status 500
|
||||||
:body {:type :exception
|
:body {:type :internal-error
|
||||||
:message (ex-message err)
|
:message (ex-message err)
|
||||||
:data (ex-data err)}})
|
:data (ex-data err)}})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user