@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.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" },
|