module Airbrake::Rake::Task

def execute(args = nil)

rubocop:disable Lint/RescueException

notifies Airbrake.
A wrapper around the original +#execute+, that catches all errors and
def execute(args = nil)
  super(args)
rescue Exception => ex
  notify_airbrake(ex, args)
  raise ex
end