diff --git a/lib/Sync.rb b/lib/Sync.rb index 051a0c2..78fcce8 100644 --- a/lib/Sync.rb +++ b/lib/Sync.rb @@ -131,7 +131,7 @@ module MPW @config.set_last_sync return true -# rescue Exception => e + rescue Exception => e @error_msg = "#{I18n.t('error.sync.unknown')} #{e}" return false end diff --git a/lib/UI/Cli.rb b/lib/UI/Cli.rb index 7c5fc74..9352ed9 100644 --- a/lib/UI/Cli.rb +++ b/lib/UI/Cli.rb @@ -32,7 +32,7 @@ class Cli raise(@sync.error_msg) if not @sync.sync return true -# rescue Exception => e + rescue Exception => e puts "#{I18n.t('display.error')} #7: #{e}".red return false end