lib/slim_lint/cli.rb in slim_lint-0.13.0 vs lib/slim_lint/cli.rb in slim_lint-0.14.0
- old
+ new
@@ -19,10 +19,10 @@
# @param args [Array<String>] command line arguments
# @return [Integer] exit status code
def run(args)
options = SlimLint::Options.new.parse(args)
act_on_options(options)
- rescue => ex
+ rescue StandardError => ex
handle_exception(ex)
end
private