Skip to content
Browse files

Merge branch 'master' of git@github.com:highgroove/scout-plugins

  • Loading branch information...
2 parents 17218b3 + e3c0185 commit 6019fe587d18113879649da479c18dbf6cdb41f8 @itsderek23 itsderek23 committed Apr 27, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 memcached_stats/memcached_stats.rb
View
4 memcached_stats/memcached_stats.rb
@@ -19,9 +19,9 @@ def build_report
connection = MemCache.new "#{option(:host)}:#{option(:port)}"
begin
stats = connection.stats["#{option(:host)}:#{option(:port)}"]
- rescue [Errno::ECONNREFUSED, MemCache::MemCacheError] => error
+ rescue Errno::ECONNREFUSED, MemCache::MemCacheError => e
return error( "Could not connect to Memcached.",
- "Make certain you've specified correct host and port" )
+ "Make certain you've specified the correct host and port" )
end
report(:uptime_in_hours => stats['uptime'].to_f / 60 / 60)

0 comments on commit 6019fe5

Please sign in to comment.
Something went wrong with that request. Please try again.