fix: get metadata email if exists
This commit is contained in:
@@ -96,6 +96,8 @@ data work.emails;
|
||||
/* get email from metadata if not in input table */
|
||||
if metadata_getnasn(uri,"EmailAddresses",1,emailuri)<=0 then do;
|
||||
putlog "DCWARN: " alert_user " has no emails in MPE_EMAILS or metadata!";
|
||||
end;
|
||||
else do;
|
||||
if metadata_getattr(emailuri,"Address",user_email)<0 then do;
|
||||
putlog 'DCWARN: Unexpected error! Valid emailURI but no email. Weird.';
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user