commit 0fb5d37bc15d683cb6c0a1cfe55c800555b38a16
parent 48c3d669844df3e149da648986cdf6720f5e11bd
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Fri, 25 May 2007 17:18:53 +0000
bugfix: constant rename
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@416 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 }