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 481d1d10 Check for icla
481d1d10 is described below

commit 481d1d102c991ec9c3058910cfb37f83928757a3
Author: Sebb <[email protected]>
AuthorDate: Sat Sep 14 12:38:37 2024 +0100

    Check for icla
---
 www/secretary/workbench/views/actions/icla2.json.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/secretary/workbench/views/actions/icla2.json.rb 
b/www/secretary/workbench/views/actions/icla2.json.rb
index 99fc1b21..808f2298 100644
--- a/www/secretary/workbench/views/actions/icla2.json.rb
+++ b/www/secretary/workbench/views/actions/icla2.json.rb
@@ -11,6 +11,9 @@ message = Mailbox.find(@message)
 
 # find person
 person = ASF::Person.find(@id)
+unless person.icla
+  _warn "Could not find ICLA entry for #{@id}"
+end
 
 # extract file extension
 fileext = File.extname(@selected).downcase

Reply via email to