#192: rescue errors
This commit is contained in:
parent
9a5bb69ac3
commit
d1c9b958d3
|
@ -23,6 +23,8 @@ class Api::V1::PlatformsController < Api::V1::BaseController
|
||||||
else
|
else
|
||||||
render :inline => 'false', :status => 403
|
render :inline => 'false', :status => 403
|
||||||
end
|
end
|
||||||
|
rescue => e
|
||||||
|
render :inline => 'false', :status => 403
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|
Loading…
Reference in New Issue