chore: do not log UnknownSpeakerError
This commit is contained in:
parent
9050304a30
commit
db7fcbfc3c
@ -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
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user