1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-20 01:50:04 +00:00

catch backstrace when interrupt

This commit is contained in:
nishiki 2016-07-05 23:14:12 +02:00
parent 50ea811b61
commit 4502c43424

View file

@ -142,6 +142,7 @@ end.parse!
# Main
# --------------------------------------------------------- #
begin
config = MPW::Config.new(options[:config])
cli = MPW::Cli.new(config, options[:sync])
@ -200,3 +201,7 @@ end
cli = nil
exit 0
rescue SystemExit, Interrupt
exit 3
end