2017-05-08 142 views
0

我不能爲我的生活弄清楚如何從解放者中獲得異常調試信息。我提出通過CLJ-HTTP請求並獲取:我如何獲得Liberator異常信息?

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} 

我在中間件列表解放者wrap-trace和它似乎並沒有給我實際的異常。

回答

0

看看handle-exception處理程序,如果拋出異常,它將呈現響應。