This is an automated email from the ASF dual-hosted git repository.
sebb 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 f329178 rescue crash in local testing
f329178 is described below
commit f32917835b908b08097dc12cc73a76d4ff83c09f
Author: Sebb <[email protected]>
AuthorDate: Thu Jul 9 00:23:11 2020 +0100
rescue crash in local testing
---
www/secretary/workbench/server.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/secretary/workbench/server.rb
b/www/secretary/workbench/server.rb
index b59e2a8..9a4521f 100644
--- a/www/secretary/workbench/server.rb
+++ b/www/secretary/workbench/server.rb
@@ -158,7 +158,7 @@ get %r{/(\d{6})/(\w+)/_index_} do |month, hash|
# applications can be accepted. Two days are added to cover the adjournment
# period of the meeting during which the vote takes place.
received = Dir["#{ASF::SVN['Meetings']}/2*/memapp-received.txt"].sort.last
- @meeting = Date.today - Date.parse(received[/\d{8}/]) <= 32
+ @meeting = Date.today - Date.parse(received[/\d{8}/]) <= 32 rescue true #
rescue crash in local testing
_html :parts
end