exe/jive in jive-0.4.4 vs exe/jive in jive-0.5.0
- old
+ new
@@ -1,6 +1,15 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "jive/cli"
-::Jive::Cli::App.start(ARGV)
+Signal.trap("INT") do
+ exit 1
+end
+
+begin
+ ::Jive::Cli::App.start(ARGV)
+rescue StandardError => e
+ puts "ERROR: #{e.message}"
+ exit 1
+end