@openhoo/hoopilot 0.7.0 → 0.7.1

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
@@ -1595,6 +1595,7 @@ function createHoopilotHandler(options = {}) {
1595
1595
  { err: errorDetails(error), event: "http.request.failed" },
1596
1596
  "request body was invalid json"
1597
1597
  );
1598
+ return finish(jsonError(400, "invalid_request_error", message));
1598
1599
  } else {
1599
1600
  requestLogger.error(
1600
1601
  { err: errorDetails(error), event: "http.request.failed" },