fix error cannot read properties of undefined (reading 'url') (ref. #2193)
This bug is said to be fixed in the latest version, but it's still an issue for some users, including myself (I'm currently using version 2.3.5).
In the createResponseListener function, sometimes const request = context.requests.get(requestId) is possible undefined. so reference error in request.url in the code below.
fix error
cannot read properties of undefined (reading 'url')
(ref. #2193) This bug is said to be fixed in the latest version, but it's still an issue for some users, including myself (I'm currently using version 2.3.5).In the
createResponseListener
function, sometimesconst request = context.requests.get(requestId)
is possibleundefined
. so reference error inrequest.url
in the code below.The same issue does not occur when using the changed version with this code.