update pino and eslint (#201)

This commit is contained in:
Dave Horton
2025-10-21 07:52:29 -04:00
committed by GitHub
parent 2ebe4d3d78
commit 49bc11bbb6
7 changed files with 621 additions and 637 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ const updateRtpEngineFlags = (sdp, opts) => {
opts.flags.push(`codec-accept-${codec}`);
opts.flags.push('codec-accept-telephone-event');
}
} catch (err) {}
} catch {}
return opts;
};
@@ -709,7 +709,7 @@ class CallSession extends Emitter {
if (!IMMUTABLE_HEADERS.includes(h)) headers[h] = bye.headers[h];
});
await other.destroy({headers});
} catch (err) {}
} catch {}
const trackingOn = process.env.JAMBONES_TRACK_ACCOUNT_CALLS ||
process.env.JAMBONES_TRACK_SP_CALLS ||
+1 -1
View File
@@ -62,7 +62,7 @@ module.exports = (srf, logger, redisClient) => {
});
return req.srf.endSession(req);
}
} catch (err) {
} catch {
res.send(500);
return req.srf.endSession(req);
}