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:
parent
56237671ed
commit
fc01690315
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue