From f2e3351e55e177818eab5c2e2099548b638111f4 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Thu, 24 Jan 2008 20:42:37 -0800 Subject: [PATCH] sup-sync: don't save the index and sources if an error occurred If the error was caused by a particular message, saving the source file will move the pointer past the message, so it will never get added. --- bin/sup-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sup-sync b/bin/sup-sync index 0acb8ed..611afc4 100644 --- a/bin/sup-sync +++ b/bin/sup-sync @@ -238,7 +238,7 @@ rescue Exception => e File.open("sup-exception-log.txt", "w") { |f| f.puts e.backtrace } raise ensure - index.save + #index.save # actually, don't want to save! Redwood::finish index.unlock end -- 2.45.2