@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.cjs CHANGED
@@ -9522,9 +9522,9 @@ url=${req.url}`, {
9522
9522
  path,
9523
9523
  url: req.url,
9524
9524
  duration_ms: durationMs,
9525
- request_body: requestMeta["request_body"],
9526
- response: responseMeta["response_body"],
9527
- error_message: isError ? finalResponseBody?.message ?? null : null
9525
+ request_body: requestMeta["request_body"] ?? {},
9526
+ response: responseMeta["response_body"] ?? {},
9527
+ error_message: isError ? finalResponseBody?.message ?? "" : ""
9528
9528
  };
9529
9529
  const reportData = JSON.stringify(responseData);
9530
9530
  appLog(reportData, {