Skip to content

Commit f6f3efe

Browse files
committed
print the body as verbose
1 parent 80c9cd4 commit f6f3efe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/auxiliary/admin/upnp/soap_portmapping.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ def run
130130
if res.code == 200
131131
print_good("#{peer} #{map} #{action.name} succeeded")
132132
else
133-
print_error("#{peer} #{map} #{action.name} failed: #{res}")
133+
print_error("#{peer} #{map} #{action.name} failed with response code #{res.code}")
134+
vprint_status("#{res.body}")
134135
end
135136
else
136137
print_error("#{peer} no response for #{map} #{action.name}")

0 commit comments

Comments
 (0)