Sfoglia il codice sorgente

fetching -> connecting to

Jasper van Merle 6 anni fa
parent
commit
3cb97f71b3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/docs/core/doc.rb

+ 1 - 1
lib/docs/core/doc.rb

@@ -228,7 +228,7 @@ module Docs
       if response.success?
         response.body
       else
-        reason = response.timed_out? ? "Timed out while fetching #{url}" : "Couldn't fetch #{url} (response code #{response.code})"
+        reason = response.timed_out? ? "Timed out while connecting to #{url}" : "Couldn't fetch #{url} (response code #{response.code})"
         opts[:logger].error(reason)
         raise reason
       end