Skip to content

Commit

Permalink
Only issue bug warning for unexpected StandardErrors, fixes petergold…
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jun 30, 2011
1 parent f15894a commit 1754b10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion History.md
Expand Up @@ -7,7 +7,8 @@ Dalli Changelog
- Remove support for Rails 2.3, add support for Rails 3.1
- Fix socket failure retry logic, now you can restart memcached and Dalli won't complain!
- Add support for fibered operation via em-synchrony (eliaslevy)
- Gracefully handle write timeouts
- Gracefully handle write timeouts, GH-99
- Only issue bug warning for unexpected StandardErrors, GH-102

1.0.5
=======
Expand Down
2 changes: 1 addition & 1 deletion lib/dalli/server.rb
Expand Up @@ -53,7 +53,7 @@ def request(op, *args)
false
rescue Dalli::DalliError
raise
rescue Exception => ex
rescue => ex
Dalli.logger.error "Unexpected exception in Dalli: #{ex.class.name}: #{ex.message}"
Dalli.logger.error "This is a bug in Dalli, please enter an issue in Github if it does not already exist."
Dalli.logger.error ex.backtrace.join("\n\t")
Expand Down

0 comments on commit 1754b10

Please sign in to comment.