lib/bugsnag/rake.rb in bugsnag-5.2.0 vs lib/bugsnag/rake.rb in bugsnag-5.3.0
- old
+ new
@@ -3,10 +3,10 @@
Rake::TaskManager.record_task_metadata = true
class Rake::Task
def execute_with_bugsnag(args=nil)
- Bugsnag.configuration.app_type = "rake"
+ Bugsnag.configuration.app_type ||= "rake"
old_task = Bugsnag.configuration.request_data[:bugsnag_running_task]
Bugsnag.set_request_data :bugsnag_running_task, self
execute_without_bugsnag(args)