From aa42b9e7f5e30d7ca4508b905d75fbe5c3ad6240 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Tue, 1 Nov 2022 13:15:46 -0700 Subject: [PATCH] Fixed server exception (#4696) --- apprelays.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprelays.js b/apprelays.js index 84de05e0..1fc7ea3a 100644 --- a/apprelays.js +++ b/apprelays.js @@ -721,7 +721,7 @@ module.exports.CreateWebRelay = function (parent, db, args, domain) { } // If there is data, send it - if (data != null) { obj.res.write(data, 'binary'); } + if (data != null) { try { obj.res.write(data, 'binary'); } catch (ex) { } } // If we are done, close the response if (done == true) {