Merge pull request #14967 from bayandin/fix-undefined-e

debrew: fix undefined variable
This commit is contained in:
Mike McQuaid 2023-03-14 07:01:10 -04:00 committed by GitHub
commit d993167fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ module Debrew
Menu.choose do |menu|
menu.prompt = "Choose an action: "
menu.choice(:raise) { raise(e) }
menu.choice(:raise) { raise(exception) }
menu.choice(:ignore) { return :ignore } if exception.is_a?(Ignorable::ExceptionMixin)
menu.choice(:backtrace) { puts exception.backtrace }