From: wmorgan Date: Fri, 25 May 2007 17:18:53 +0000 (+0000) Subject: bugfix: constant rename X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=0fb5d37bc15d683cb6c0a1cfe55c800555b38a16;p=sup bugfix: constant rename git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@416 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/bin/sup-sync b/bin/sup-sync index 00557a3..c7e826b 100644 --- a/bin/sup-sync +++ b/bin/sup-sync @@ -192,7 +192,7 @@ begin $stderr.puts "Scanned #{num_scanned}, added #{num_added}, updated #{num_updated} messages from #{source}." $stderr.puts "Restored state on #{num_restored} (#{100.0 * num_restored / num_scanned}%) messages." if num_restored > 0 end -rescue FatalSourceError => e +rescue Redwood::FatalSourceError => e $stderr.puts "Sorry, I couldn't communicate with a source: #{e.message}" rescue Exception => e File.open("sup-exception-log.txt", "w") { |f| f.puts e.backtrace }