commit fc24708642a785b37a74d568168b54f20d2e61cb
parent 37a70ba85594fc4dd441ae1ed90de99028b6d391
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Sun, 1 Nov 2009 13:44:23 -0500
Merge branch 'master' into next
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/mbox.rb b/lib/sup/mbox.rb
@@ -14,7 +14,7 @@ module MBox
## hack -- make Time.parse fail when trying to substitute values from Time.now
Time.parse time, 0
true
- rescue NoMethodError
+ rescue NoMethodError, ArgumentError
warn "found invalid date in potential mbox split line, not splitting: #{l.inspect}"
false
end