More details in voice crash

This commit is contained in:
Ruben van de Ven 2019-04-15 21:35:38 +02:00
parent 853e7954ff
commit 267b2d980f

View file

@ -107,6 +107,7 @@ class LyrebirdVoiceFetcher(VoiceFetcher):
try:
response = await http_client.fetch(request)
except Exception as e:
logger.critical(f"Exception when getting Lyrebird voice file: POST {request.url} body: {request.body}")
http_client.close()
raise e
@ -169,6 +170,7 @@ class MSVoiceFetcher(VoiceFetcher):
try:
response = await http_client.fetch(request)
except Exception as e:
logger.critical(f"Exception when getting Microsoft voice file: POST {request.url} body: {request.body}")
http_client.close()
raise e