fix the issue 890 which throw exception Cannot destructure property 'message' of 'tracker.fetch(...)' as it is null

This commit is contained in:
qpan 2023-06-16 08:49:19 +08:00
parent f2890088e4
commit 90879ecb4f
1 changed files with 1 additions and 1 deletions
lib/client/message-tracker

View File

@ -104,7 +104,7 @@ module.exports = function messageTrackerFactory (options) {
return { message: abandonedMsg, callback: abandonedMsg.cb }
}
return null
return { message: null, callback: null }
}
/**