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:
parent
afb197aff5
commit
797efa2b93
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue