fix the issue 890 which throw exception Cannot destructure property 'message' of 'tracker.fetch(...)' as it is null
This commit is contained in:
parent
f2890088e4
commit
90879ecb4f
lib/client/message-tracker
|
@ -104,7 +104,7 @@ module.exports = function messageTrackerFactory (options) {
|
|||
return { message: abandonedMsg, callback: abandonedMsg.cb }
|
||||
}
|
||||
|
||||
return null
|
||||
return { message: null, callback: null }
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue