We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c0c34f commit 1f58cf4Copy full SHA for 1f58cf4
nonebot_plugin_fishspeech_tts/__init__.py
@@ -89,7 +89,7 @@ async def tts_handle(message: UniMsg, match: tuple = RegexGroup()):
89
)
90
audio = await fish_speech_api.generate_tts(request)
91
await UniMessage.voice(raw=audio).finish()
92
- except (APIException, FileNotFoundError, ValueError, NotADirectoryError) as e:
+ except APIException as e:
93
await tts_handler.finish(str(e))
94
95
0 commit comments