@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 +1 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1526,6 +1526,7 @@ function createHoopilotHandler(options = {}) {
|
|
|
1526
1526
|
{ err: errorDetails(error), event: "http.request.failed" },
|
|
1527
1527
|
"request body was invalid json"
|
|
1528
1528
|
);
|
|
1529
|
+
return finish(jsonError(400, "invalid_request_error", message));
|
|
1529
1530
|
} else {
|
|
1530
1531
|
requestLogger.error(
|
|
1531
1532
|
{ err: errorDetails(error), event: "http.request.failed" },
|