gregory-m/metasploit-framework — comment on commit d9f0453ee94be88ea09f993fa260b84c9068f519
File: modules/auxiliary/scanner/afp/afp_server_info.rb line 76
By wchen-r7:

'raise' will print a scary backtrace that users tend to complain (often because they don't understand it). Because of that, we prefer to avoid using 'raise'. Instead, a simple 'print_error()' and 'return' should do the trick.