rapid7/metasploit-framework — comment on commit e204923966ecee6efb8aaf8e79df3e81e22a4913
File: modules/post/windows/recon/winlocalprv_esc.rb line 59
By todb-r7:

This rescue going to eat all errors, should be limited or avoided completely -- I want to know why one of those file operations failed. Please avoid eating errors that are actually helpful. In this case, I'd say forget the begin/rescue/end block entirely.