chore: do not log UnknownSpeakerError
This commit is contained in:
父節點
9050304a30
當前提交
db7fcbfc3c
@ -63,7 +63,7 @@ def get_speaker_biography(name):
|
||||
logging.info(speaker_info)
|
||||
return speaker_info["results"][0]["biography"].strip()
|
||||
except Exception as err:
|
||||
logging.error(f"UnknownSpeakerError: {name}")
|
||||
logging.debug(f"UnknownSpeakerError: {name}")
|
||||
return None
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
載入中…
新增問題並參考
Block a user