I seem to have a ruby bug in my before-add-message.rb hook. When new messages are loaded, I see a very quickly displayed error message about the hook. Is this same error written to a file anywhere because it flashes too quickly for me to read it? I tried just directly executing the before-add-message.rb code with ruby but of course it complains that message is undefined. What is the best way to debug hooks? Thanks, John
Reformatted excerpts from John Bent''s message of 2008-01-23:> I seem to have a ruby bug in my before-add-message.rb hook. When new > messages are loaded, I see a very quickly displayed error message > about the hook. Is this same error written to a file anywhere because > it flashes too quickly for me to read it?The messages should be reproduced in the log buffer. If you hit B you can bring it up directly. -- William <wmorgan-sup at masanjin.net>
Excerpts from William Morgan''s message of Wed Jan 23 13:51:46 -0700 2008:> Reformatted excerpts from John Bent''s message of 2008-01-23: > > I seem to have a ruby bug in my before-add-message.rb hook. When new > > messages are loaded, I see a very quickly displayed error message > > about the hook. Is this same error written to a file anywhere because > > it flashes too quickly for me to read it? > > The messages should be reproduced in the log buffer. If you hit B you > can bring it up directly. >That did the trick. Thanks a lot. And thanks again for sup. I''m so happy to finally say good-bye to pine; I feel like I''ve finally entered the correct century in terms of my email technology.
Reformatted excerpts from John Bent''s message of 2008-01-23:> That did the trick. Thanks a lot. And thanks again for sup. I''m so > happy to finally say good-bye to pine; I feel like I''ve finally > entered the correct century in terms of my email technology.Well I wouldn''t go that far. You''re still using a console program, after all. :) -- William <wmorgan-sup at masanjin.net>