Fixed server exception (#4696)

This commit is contained in:
Ylian Saint-Hilaire 2022-11-01 13:15:46 -07:00
parent 275cc04e03
commit aa42b9e7f5
1 changed files with 1 additions and 1 deletions

View File

@ -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) {