#192: rescue errors

This commit is contained in:
Vokhmin Alexey V 2013-07-02 21:31:04 +04:00
parent 9a5bb69ac3
commit d1c9b958d3
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ class Api::V1::PlatformsController < Api::V1::BaseController
else
render :inline => 'false', :status => 403
end
rescue => e
render :inline => 'false', :status => 403
end
def index