Skip to content

Commit ed5b889

Browse files
committed
Fixes smart_migrate for a TypeError bug
Bug is: TypeError can't convert Rex::RuntimeError into String [SeeRM: rapid7#7984]
1 parent 63694a6 commit ed5b889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/windows/manage/smart_migrate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def attempt_migration(target_pid)
6161
return true
6262
rescue ::Exception => e
6363
print_error("Could not migrate in to process.")
64-
print_error(e)
64+
print_error(e.to_s)
6565
return false
6666
end
6767
end

0 commit comments

Comments
 (0)