This is an automated email from the ASF dual-hosted git repository.
curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new c56e6fd Allow to fail with obvious error instead of "Bad header" error
c56e6fd is described below
commit c56e6fd7d2cf813c7313c653489b15be4119716f
Author: Shane Curcuru <[email protected]>
AuthorDate: Tue Feb 9 07:45:40 2021 -0500
Allow to fail with obvious error instead of "Bad header" error
---
www/members/meeting.cgi | 1 -
1 file changed, 1 deletion(-)
diff --git a/www/members/meeting.cgi b/www/members/meeting.cgi
index 80159d5..ffa156a 100755
--- a/www/members/meeting.cgi
+++ b/www/members/meeting.cgi
@@ -17,7 +17,6 @@ def ics2dtstart(f)
tmp = IO.readlines(f).find{ |i| i =~ /DTSTART:/ }.split(':')[1].strip
return DateTime.parse(tmp)
rescue StandardError => e
- puts "ics2dtstart #{e}"
return DateTime.new(1970,1,1) # An obvious error value 8-)
end
end