From 9f6f9008388f83c23a24ebafaab78f1697754b7c Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Wed, 31 Aug 2011 14:13:32 +0100 Subject: Tidied up log message when CalendarInterface#do_get fails. --- lib/mauve/calendar_interface.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.1