#192: rescue errors
This commit is contained in:
parent
9a5bb69ac3
commit
d1c9b958d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue