comments updated
This commit is contained in:
parent
f4e8ce3227
commit
cb10e4fa59
1 changed files with 2 additions and 2 deletions
|
|
@ -310,11 +310,11 @@ export function extractJsonObject(inputString) {
|
|||
// console.log(">>>>>>>>>> Extracted JSON object:", jsonObject);
|
||||
return jsonObject;
|
||||
} else {
|
||||
console.error("[ThunderAI-Sparks] No JSON object found in the input string.");
|
||||
console.error("[ThunderAI] No JSON object found in the input string.");
|
||||
return null;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("[ThunderAI-Sparks] Error extracting JSON object:", error);
|
||||
console.error("[ThunderAI] Error extracting JSON object:", error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue