Skip to content

Commit 8b5e272

Browse files
committed
Change to warning.
1 parent 8672fdf commit 8b5e272

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/async/http/faraday/adapter.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ def initialize(options = {})
5757
end
5858

5959
def run
60-
raise NotImplementedError, "Please update your Faraday version!"
60+
if $VERBOSE
61+
warn "Please update your Faraday version!", uplevel: 2
62+
end
6163
end
6264

6365
def async(&block)

0 commit comments

Comments
 (0)