Fix up ExploitError module inside exceptions.rb to properly propagate errors to the end user

This commit is contained in:
gwillcox-r7 2020-08-03 17:14:24 -05:00
parent b1f902006d
commit 8a156abdb4
No known key found for this signature in database
GPG Key ID: D35E05C0F2B81E83
1 changed files with 2 additions and 2 deletions

View File

@ -152,8 +152,8 @@ end
module ExploitError
include Exception
def to_s
"An exploitation error occurred."
def initialize(msg="An exploitation error occurred.")
super(msg)
end
end