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
David Maloney 2014-09-16 13:24:08 -05:00
parent 6decd3cbd2
commit d708de07a3
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ module Metasploit
@model = model
errors = @model.errors.full_messages.join(', ')
errors << " (#{model.class.to_s})"
super(errors)
end
end