@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/cli.js CHANGED
@@ -1110,6 +1110,7 @@ function createHoopilotHandler(options = {}) {
1110
1110
  { err: errorDetails(error), event: "http.request.failed" },
1111
1111
  "request body was invalid json"
1112
1112
  );
1113
+ return finish(jsonError(400, "invalid_request_error", message));
1113
1114
  } else {
1114
1115
  requestLogger.error(
1115
1116
  { err: errorDetails(error), event: "http.request.failed" },