[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Need a simple check / nice error message for user error on mbox being a dir



Andrei Thorp, 2011-01-27 21:16:
> Scanning mbox:/var/spool/mail/thought...
> /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mbox.rb:155:in
> `gets': Is a directory - /var/spool/mail/thought (Errno::EISDIR)
...
> Obviously a simple user error here. Would be nice if sup knew to throw
> a nicer error here. Not a big deal!

Did you mean sup should detect if mbox source actually points to a
maildir (was /var/spool/mail/thought a maildir?) and suggest a
correction to configuration or that sup wouldn't crash but reported
"/var/spool/mail/thought Is a directory. File was expected."

-- 
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk