Abort on error
This ensures the exit status 1, which is useful in scripts.
This commit is contained in:
parent
ee6789f62a
commit
647276da3e
1 changed files with 1 additions and 2 deletions
|
@ -3,6 +3,5 @@ require 'twine'
|
|||
begin
|
||||
Twine::Runner.run(ARGV)
|
||||
rescue Twine::Error => e
|
||||
STDERR.puts e.message
|
||||
exit
|
||||
abort e.message
|
||||
end
|
||||
|
|
Reference in a new issue