@lark-apaas/nestjs-logger 1.0.2-alpha.30 → 1.0.2-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -9505,9 +9505,9 @@ url=${req.url}`, {
9505
9505
  path,
9506
9506
  url: req.url,
9507
9507
  duration_ms: durationMs,
9508
- request_body: requestMeta["request_body"],
9509
- response: responseMeta["response_body"],
9510
- error_message: isError ? finalResponseBody?.message ?? null : null
9508
+ request_body: requestMeta["request_body"] ?? {},
9509
+ response: responseMeta["response_body"] ?? {},
9510
+ error_message: isError ? finalResponseBody?.message ?? "" : ""
9511
9511
  };
9512
9512
  const reportData = JSON.stringify(responseData);
9513
9513
  appLog(reportData, {