add log
This commit is contained in:
@@ -46,6 +46,8 @@ module Api
|
||||
|
||||
return if is_authorized
|
||||
|
||||
Rollbar.error('Blob aunauthorized') if defined?(Rollbar)
|
||||
|
||||
raise CanCan::AccessDenied
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user