aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/calendar_interface.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-31 14:13:32 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-31 14:13:32 +0100
commit9f6f9008388f83c23a24ebafaab78f1697754b7c (patch)
tree09dd173540e85a81c69f1f85eeb16e02ab2be12f /lib/mauve/calendar_interface.rb
parentdfb79527aeab7b973c0ece9e681b9813eb148ab6 (diff)
Tidied up log message when CalendarInterface#do_get fails.
Diffstat (limited to 'lib/mauve/calendar_interface.rb')
-rw-r--r--lib/mauve/calendar_interface.rb5
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