diff --git a/README.md b/README.md index a84ef7a014..1f8bfb8676 100644 --- a/README.md +++ b/README.md @@ -2177,8 +2177,8 @@ class Twitter::API < Grape::API error!("ArgumentError: #{e.message}") end - rescue_from NotImplementedError do |e| - error!("NotImplementedError: #{e.message}") + rescue_from NoMethodError do |e| + error!("NoMethodError: #{e.message}") end end ```