Sha256: 4468a9de77f5e97aad33fce2133bfda740c863a5d27d71130b761afaa71d83e2
Contents?: true
Size: 487 Bytes
Versions: 33
Compression:
Stored size: 487 Bytes
Contents
module Bugsnag::Middleware class Rake def initialize(bugsnag) @bugsnag = bugsnag end def call(notification) task = notification.request_data[:bugsnag_running_task] if task notification.add_tab(:rake_task, { :name => task.name, :description => task.full_comment, :arguments => task.arg_description }) notification.context ||= task.name end @bugsnag.call(notification) end end end
Version data entries
33 entries across 33 versions & 2 rubygems