Skip to content

Commit

Permalink
Merge pull request #2480 from flowforge/backport-2479
Browse files Browse the repository at this point in the history
Add checks for empty values in logging stream (backport #2479)
  • Loading branch information
knolleary committed Jul 13, 2023
2 parents 8229c03 + 07ddf1b commit 11fed67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions forge/forge.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ module.exports = async (options = {}) => {
return {
statusCode: reply.statusCode,
request: {
url: reply.request.raw.url,
method: reply.request.method,
remoteAddress: reply.request.socket.remoteAddress,
remotePort: reply.request.socket.remotePort
url: reply.request?.raw?.url,
method: reply.request?.method,
remoteAddress: reply.request?.socket.remoteAddress,
remotePort: reply.request?.socket.remotePort
}
}
}
Expand Down

0 comments on commit 11fed67

Please sign in to comment.