commit 08efee3ada2ea7e1279ce04382dfb27179e1fa3a
parent d3278b9d1c19f78cecc4bc92aa28f341443350eb
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Wed, 24 Jan 2007 19:16:14 +0000
minor: create sup-exception-log.txt instead of exception-log.txt
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@280 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup.rb b/lib/sup.rb
@@ -19,7 +19,7 @@ module Redwood
CONFIG_FN = File.join(BASE_DIR, "config.yaml")
SOURCE_FN = File.join(BASE_DIR, "sources.yaml")
LABEL_FN = File.join(BASE_DIR, "labels.txt")
- PERSON_FN = File.join(BASE_DIR, "people.txt")
+ PERSON_FN = File.join(BASE_DIR, "people.txt")
CONTACT_FN = File.join(BASE_DIR, "contacts.txt")
DRAFT_DIR = File.join(BASE_DIR, "drafts")
SENT_FN = File.join(BASE_DIR, "sent.mbox")
@@ -34,7 +34,7 @@ module Redwood
begin
yield
rescue Exception => e
- File.open("exception-log.txt", "w") do |f|
+ File.open("sup-exception-log.txt", "w") do |f|
f.puts "--- #{e.class.name} at #{Time.now}"
f.puts e.message, e.backtrace
end