mods/standard/sets/all/follow.rb in wagn-1.13.0.pre1 vs mods/standard/sets/all/follow.rb in wagn-1.13.0.pre2

- old
+ new

@@ -62,10 +62,10 @@ @trunk_watcher_watched_pairs.each do |watcher, watched| next if watcher.nil? Mailer.change_notice( watcher, self.left, 'updated', watched.to_s, [[name, action]], self ).send_if :deliver end end - rescue Exception=>e #this error handling should apply to all extend callback exceptions + rescue =>e #this error handling should apply to all extend callback exceptions Airbrake.notify e if Airbrake.configuration.api_key Rails.logger.info "\nController exception: #{e.message}" Rails.logger.debug "BT: #{e.backtrace*"\n"}" end end