Should be print_error

bug/bundler_fix
wchen-r7 2016-06-08 14:22:36 -05:00
parent 52bcade72c
commit f0bb125556
1 changed files with 2 additions and 2 deletions

View File

@ -186,11 +186,11 @@ class MetasploitModule < Msf::Auxiliary
end
rescue ::Rex::Proto::SMB::Exceptions::ErrorCode => e
print_line("UUID #{uuid[0]} #{uuid[1]} ERROR 0x%.8x" % e.error_code)
print_error("UUID #{uuid[0]} #{uuid[1]} ERROR 0x%.8x" % e.error_code)
#puts e
#return
rescue ::Exception => e
print_line("UUID #{uuid[0]} #{uuid[1]} ERROR #{$!}")
print_error("UUID #{uuid[0]} #{uuid[1]} ERROR #{$!}")
#puts e
#return
end