Add "Call stack:" to the log when a module load fails

bug/bundler_fix
James Lee 2012-11-07 12:48:55 -06:00
parent 3ad00f7c63
commit aaa5a3c0bb
2 changed files with 2 additions and 1 deletions

View File

@ -419,6 +419,7 @@ class Msf::Modules::Loader::Base
log_lines << "#{module_path} failed to load due to the following error:"
log_lines << error.class.to_s
log_lines << error.to_s
log_lines << "Call stack:"
log_lines += error.backtrace
log_message = log_lines.join("\n")