redirect_to params.merge(:cookie_test => "true")
return false
else
- @notice = t 'application.require_cookies.cookies_needed'
+ flash.now[:warning] = t 'application.require_cookies.cookies_needed'
end
end
end
rescue OSM::APIError => ex
report_error ex.message, ex.status
rescue Exception => ex
+ logger.info("API threw unexpected #{ex.class} exception: #{ex.message}")
+ ex.backtrace.each { |l| logger.info(l) }
report_error "#{ex.class}: #{ex.message}", :internal_server_error
end
end