better timeout handling #14

Merged
wirehack7 merged 3 commits from dev into main 2025-05-01 19:29:55 +02:00
Showing only changes of commit b3045bf724 - Show all commits

View File

@ -218,7 +218,9 @@ async def generate(
except Exception: # pylint: disable=W0718
error_data = "error message unreadable"
error_message = f"Error {status_code} at API-request.\n" f"Answer: {error_data}\n"
error_message = (
f"Error {status_code} at API-request.\n" f"Answer: {error_data}\n"
)
await interaction.followup.send(error_message)