Add request read

This commit is contained in:
Henry Hiles 2025-08-19 18:42:19 -04:00
commit 403953df93
No known key found for this signature in database

View file

@ -151,7 +151,12 @@ If you have any issues, reply to this email.""",
return Response.found(settings.successUri);
} catch (error, stackTrace) {
final message = "An error occurred: $error\n$stackTrace";
final message =
"""An error occurred for this request:
${await request.readAsString()}
$error
$stackTrace
""";
try {
final room = client.getRoomByAlias(settings.adminRoom)!;