events-backend: log blocking event response errors instead of attempting to return them

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-05-27 13:34:59 +02:00
parent a19caf2697
commit 362571f677
@@ -242,7 +242,7 @@ export async function createEventBusRouter(options: {
);
} catch (error) {
if (error !== controller.signal.reason) {
throw error;
logger.error(`Error listening for subscription '${id}'`, error);
}
} finally {
// A small extra delay ensures a more even spread of events across