mirror of
https://github.com/penpot/penpot.git
synced 2026-03-06 18:21:09 +00:00
✨ Improve internal error response data structure.
This commit is contained in:
@@ -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)}})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user