return the lgoinscanner class name in an invalid exception
when a loginScanner throws an Invalid exception , the message will now include the classname of the Scanner that threw it.bug/bundler_fix
parent
6decd3cbd2
commit
d708de07a3
|
@ -13,6 +13,7 @@ module Metasploit
|
|||
@model = model
|
||||
|
||||
errors = @model.errors.full_messages.join(', ')
|
||||
errors << " (#{model.class.to_s})"
|
||||
super(errors)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue