2017-05-08 82 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处理程序,如果抛出异常,它将呈现响应。