From 4bd961321c312b66d52b490e7c4ec13ac2f164c0 Mon Sep 17 00:00:00 2001 From: Jaime Iniesta Date: Mon, 27 Jun 2016 13:33:08 +0200 Subject: [PATCH] Fixes documentation about MetaInspector::TimeoutError. Closes #182 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 567020e5..c0359e74 100644 --- a/README.md +++ b/README.md @@ -267,13 +267,13 @@ page = MetaInspector.new('www.google', :connection_timeout => 10, :read_timeout ``` If MetaInspector fails to fetch the page after it has exhausted its retries, -it will raise `Faraday::TimeoutError`, which you can rescue in your +it will raise `MetaInspector::TimeoutError`, which you can rescue in your application code. ```ruby begin page = MetaInspector.new(url) -rescue Faraday::TimeoutError +rescue MetaInspector::TimeoutError enqueue_for_future_fetch_attempt(url) render_simple(url) else