Commit db8d24625a42f2b75b4500515d1fd02134b0e750

Authored by Adhidarma Hadiwinoto
1 parent 46087d220e
Exists in master

originalTsMatched

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

lib/smstools-handler/failed.js
... ... @@ -30,6 +30,9 @@ module.exports = async (msgFilename) => {
30 30 const failed = parsedMsg.headers.get('failed');
31 31 const { text } = parsedMsg;
32 32  
  33 + const originalTsMatched = msgFilename.match(/komodo\.(\d+)_(d+)/);
  34 +
  35 +
33 36 logger.verbose('Sent failed detected', {
34 37 eventType,
35 38 msgFile: msgFilename,
... ... @@ -40,5 +43,6 @@ module.exports = async (msgFilename) => {
40 43 failReason,
41 44 failed,
42 45 text,
  46 + originalTsMatched,
43 47 });
44 48 };