]> git.cworth.org Git - sup/commitdiff
made source errors actually log like i claim they do
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 4 Apr 2007 16:09:28 +0000 (16:09 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Wed, 4 Apr 2007 16:09:28 +0000 (16:09 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@376 5c8cc53c-5e98-4d25-b20a-d8db53a31250

doc/TODO
lib/sup/message.rb

index 10e0b807d2d2a12c9da2f20fe51f2f3d54ffcba0..6bcbbd4aab206723c237965c6f765071f2894539 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,5 +1,6 @@
 for 0.0.9
 ---------
+_ bugfix: read before thread-index has finished loading then hides the thread?!? wtf. (on jamie)
 _ bugfix: sup-add not prompting for old accounts, i think? possibly because
     sources no longer respond_to? :username due to Recoverable wrapping
 _ bugfix: rmail multipart error
index 61d23976cfe09a3ba66abf70104216e04bf7a458..4b94482c6ee5791032c1b047c15805d18374202d 100644 (file)
@@ -190,6 +190,7 @@ class Message
           read_header @source.load_header(@source_info)
           message_to_chunks @source.load_message(@source_info)
         rescue SourceError, SocketError, MessageFormatError => e
+          Redwood::log "problem getting messages from #{@source}: #{e.message}"
           ## we need force_to_top here otherwise this window will cover
           ## up the error message one
           Redwood::report_broken_sources :force_to_top => true
@@ -221,6 +222,7 @@ EOS
     begin
       @source.raw_header @source_info
     rescue SourceError => e
+      Redwood::log "problem getting messages from #{@source}: #{e.message}"
       error_message e.message
     end
   end
@@ -229,6 +231,7 @@ EOS
     begin
       @source.raw_full_message @source_info
     rescue SourceError => e
+      Redwood::log "problem getting messages from #{@source}: #{e.message}"
       error_message(e.message)
     end
   end