Fix up ExploitError module inside exceptions.rb to properly propagate errors to the end user
This commit is contained in:
parent
b1f902006d
commit
8a156abdb4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue