More details in voice crash
This commit is contained in:
parent
853e7954ff
commit
267b2d980f
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,7 @@ class LyrebirdVoiceFetcher(VoiceFetcher):
|
||||||
try:
|
try:
|
||||||
response = await http_client.fetch(request)
|
response = await http_client.fetch(request)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
logger.critical(f"Exception when getting Lyrebird voice file: POST {request.url} body: {request.body}")
|
||||||
http_client.close()
|
http_client.close()
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
@ -169,6 +170,7 @@ class MSVoiceFetcher(VoiceFetcher):
|
||||||
try:
|
try:
|
||||||
response = await http_client.fetch(request)
|
response = await http_client.fetch(request)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
logger.critical(f"Exception when getting Microsoft voice file: POST {request.url} body: {request.body}")
|
||||||
http_client.close()
|
http_client.close()
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue