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 b6c707e Detect missing retired name
b6c707e is described below
commit b6c707e2988683626657134f9dda9c021050ab84
Author: Sebb <[email protected]>
AuthorDate: Thu May 13 11:05:34 2021 +0100
Detect missing retired name
---
www/roster/public_committee_info.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/roster/public_committee_info.rb
b/www/roster/public_committee_info.rb
index 825382c..2a95b9f 100644
--- a/www/roster/public_committee_info.rb
+++ b/www/roster/public_committee_info.rb
@@ -177,6 +177,7 @@ if ARGV.length >= 2
metadata.each do |key, value|
retired = value[:retired]
if retired
+ Wunderbar.error "#{key} has no display name" unless value[:name]
data[key] = {
display_name: value[:name],
retired: retired