lib/task_manager.rb in task_manager2-0.0.12 vs lib/task_manager.rb in task_manager2-0.0.13
- old
+ new
@@ -32,9 +32,11 @@
def self.current
task = CurrentTaskFile.new.current
print('Current task:'.colorize(:light_cyan))
print_task(task)
+ rescue Exception => e
+ print e.message
end
def self.finish
task = CurrentTaskFile.new.pick
DoneTaskFile.new.add(task)