From 403953df933d70f69d1f8aab5dc050665ad8d963 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 19 Aug 2025 18:42:19 -0400 Subject: [PATCH] Add request read --- bin/nexusbot.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/nexusbot.dart b/bin/nexusbot.dart index f81ce27..88285f2 100644 --- a/bin/nexusbot.dart +++ b/bin/nexusbot.dart @@ -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)!;