添加报错时的信息

dev_local
daiao 6 years ago
parent 9890a97e34
commit 8e4bb66272

@ -464,7 +464,7 @@ class MyshixunsController < ApplicationController
render :json => {:data => "success"}
end
rescue Exception => e
render :json => {:data => "failed"}
render :json => {:data => "failed, exception_message: #{e}"}
end
end

Loading…
Cancel
Save