chore: do not log UnknownSpeakerError

This commit is contained in:
mco-system 2023-04-21 23:03:27 +11:00
parent 9050304a30
commit db7fcbfc3c

View File

@ -63,7 +63,7 @@ def get_speaker_biography(name):
logging.info(speaker_info) logging.info(speaker_info)
return speaker_info["results"][0]["biography"].strip() return speaker_info["results"][0]["biography"].strip()
except Exception as err: except Exception as err:
logging.error(f"UnknownSpeakerError: {name}") logging.debug(f"UnknownSpeakerError: {name}")
return None return None
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------