Merge branch 'weixin_guange' of https://git.trustie.net/jacknudt/trustieforge into weixin_guange

This commit is contained in:
cxt 2016-04-08 14:51:33 +08:00
commit bd19913db8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module Mobile
rescue =>e
message = {status: 1, message: e.message }.to_json
Rails.logger.error e.inspect
Rails.logger.error e.backtrace
Rails.logger.error e.backtrace.join("\n")
status = 200
headers = { 'Content-Type' => content_type }
Rack::Response.new([message], status, headers).finish