-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Lines 1057 to 1060 in 2fc6c10
| for b64_trustinfo in b64_trustinfos: | |
| str_trustinfo = b64decode(b64_trustinfo.encode('ascii')) | |
| trustinfo = json.loads(str_trustinfo.decode('utf8')) | |
| sp['profiles'].update(trustinfo['profiles']) |
If this fails pyFF stops processing the rest of entities.
Would be better to print an error and continue with the rest.
Might add something line this
try:
str_trustinfo = b64decode(b64_trustinfo.encode('ascii'))
trustinfo = json.loads(str_trustinfo.decode('utf8'))
sp['profiles'].update(trustinfo['profiles'])
except Exception:
log.error(f"Error parsing TrustInfo profile for {sp['entityID']}")
Metadata
Metadata
Assignees
Labels
No labels