Include backtrace in source json

This commit is contained in:
Toks
2015-05-25 23:06:38 -04:00
parent 804cbae85c
commit 41c4d3095a

View File

@@ -18,7 +18,7 @@ private
def rescue_exception(exception)
respond_with do |format|
format.json do
render :json => {:message => exception.to_s}, :status => :error
render :json => {:message => exception.to_s, :backtrace => exception.backtrace}, :status => :error
end
end
end