mirror of
https://github.com/jambonz/sbc-outbound.git
synced 2026-07-04 19:32:04 +00:00
update pino and eslint (#201)
This commit is contained in:
+2
-2
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user