template-dir/hooks/pre-rebase in overcommit-0.41.0 vs template-dir/hooks/pre-rebase in overcommit-0.42.0
- old
+ new
@@ -105,10 +105,10 @@
puts error
puts "For more information, see #{Overcommit::REPO_URL}#security"
exit 1
rescue Overcommit::Exceptions::InvalidHookSignature
exit 1
-rescue => error
+rescue StandardError => error
puts error.message
puts error.backtrace
puts "Report this bug at #{Overcommit::BUG_REPORT_URL}"
exit 70 # EX_SOFTWARE
end