1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-30 08:53:05 +00:00

cli: catch exception in decrypt

This commit is contained in:
nishiki 2016-05-05 23:46:48 +02:00
parent afb197aff5
commit 797efa2b93

View file

@ -95,6 +95,9 @@ class Cli
end end
@mpw.read_data @mpw.read_data
rescue Exception => e
puts "#{I18n.t('display.error')} #11: #{e}".red
exit 2
end end
# Display the query's result # Display the query's result