diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-31 14:13:32 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-31 14:13:32 +0100 |
commit | 9f6f9008388f83c23a24ebafaab78f1697754b7c (patch) | |
tree | 09dd173540e85a81c69f1f85eeb16e02ab2be12f | |
parent | dfb79527aeab7b973c0ece9e681b9813eb148ab6 (diff) |
Tidied up log message when CalendarInterface#do_get fails.
-rw-r--r-- | lib/mauve/calendar_interface.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/mauve/calendar_interface.rb b/lib/mauve/calendar_interface.rb index f06c597..abce824 100644 --- a/lib/mauve/calendar_interface.rb +++ b/lib/mauve/calendar_interface.rb @@ -125,10 +125,11 @@ module Mauve end rescue Timeout::Error => ex - logger.error("Time out reached during fetch of #{uri.to_s}.") + logger.error("Timeout caught during fetch of #{uri.to_s}.") rescue StandardError => ex - logger.error("Time out reached during fetch of #{uri.to_s}.") + logger.error("#{ex.class} caught during fetch of #{uri.to_s}: #{ex.to_s}.") + logger.debug(ex.backtrace.join("\n")) end |