mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 21:03:08 +00:00
fix: enhance error logging for JSON parsing in suggestions generation
- Added error logging for failed JSON parsing in the suggestions generation route to improve debugging capabilities. - This change ensures that any parsing errors are captured and logged, aiding in the identification of issues with AI response handling.
This commit is contained in:
@@ -3,10 +3,7 @@
|
||||
*/
|
||||
|
||||
import type { Request, Response } from "express";
|
||||
import {
|
||||
getSpecRegenerationStatus,
|
||||
getErrorMessage,
|
||||
} from "../common.js";
|
||||
import { getSpecRegenerationStatus, getErrorMessage } from "../common.js";
|
||||
|
||||
export function createStatusHandler() {
|
||||
return async (_req: Request, res: Response): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user