lib/async/task.rb in async-1.10.2 vs lib/async/task.rb in async-1.10.3

- old
+ new

@@ -75,13 +75,14 @@ @status = :complete # Async.logger.debug("Task #{self} completed normally.") rescue Stop @status = :stop # Async.logger.debug("Task #{self} stopped: #{$!}") + Async.logger.debug(self) {$!} rescue Exception => error @result = error @status = :failed - # Async.logger.debug("Task #{self} failed: #{$!}") + Async.logger.debug(self) {$!} raise ensure # Async.logger.debug("Task #{self} closing: #{$!}") finish! end