Skip to content

Commit 380f5f5

Browse files
committed
Auxiliary::Web::HTTP#_request: print_error => elog
[SEERM rapid7#7839] Reverted earlier commit.
1 parent 7c9a65f commit 380f5f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/auxiliary/web/http.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ def _request( url, opts = {} )
313313
# This is bad but we can't anticipate the gazilion different types of network
314314
# i/o errors between Rex and Errno.
315315
rescue => e
316-
print_error e.to_s
317-
e.backtrace.each { |l| print_error l }
316+
elog e.to_s
317+
e.backtrace.each { |l| elog l }
318318
Response.empty
319319
end
320320

0 commit comments

Comments
 (0)