Debugging 如何获取解放者异常信息?
我一辈子都搞不懂如何从liberator中获取异常调试信息。我通过clj http发出请求并获取:Debugging 如何获取解放者异常信息?,debugging,clojure,middleware,liberator,Debugging,Clojure,Middleware,Liberator,我一辈子都搞不懂如何从liberator中获取异常调试信息。我通过clj http发出请求并获取: 17-05-08 15:26:09 x201 DEBUG [org.apache.http.impl.conn.DefaultClientConnection:128] - Receiving response: HTTP/1.1 500 Internal Server Error {:status 500, :headers {"Server" "nginx/1.4.6 (Ubuntu)",
17-05-08 15:26:09 x201 DEBUG [org.apache.http.impl.conn.DefaultClientConnection:128] -
Receiving response: HTTP/1.1 500 Internal Server Error
{:status 500, :headers {"Server" "nginx/1.4.6 (Ubuntu)", "Date" "Mon, 08 May 2017 15:26:09 GMT", "Content-Length" "0", "Connection" "close"},
:body "", :request-time 45,
:trace-redirects ["http://api.mysite.dev/0/projects/Food-Blog/data/Ar6D3PjBZv"], :orig-content-encoding nil}
我的中间件列表中有一个libertor
wrap trace
,它似乎没有给我实际的异常。看看句柄异常处理程序,如果抛出异常,它将呈现响应