mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
✨ Improve internal error response data structure.
This commit is contained in:
parent
56237671ed
commit
fc01690315
@ -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)}})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user