mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 06:42:26 +00:00
fix: prevent [object Object] error display in console output (#8116)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -147,7 +147,7 @@ try {
|
||||
if (formatted) UI.error(formatted)
|
||||
if (formatted === undefined) {
|
||||
UI.error("Unexpected error, check log file at " + Log.file() + " for more details" + EOL)
|
||||
console.error(e)
|
||||
console.error(e instanceof Error ? e.message : String(e))
|
||||
}
|
||||
process.exitCode = 1
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user