Skip to content

Commit 8402ced

Browse files
committed
Use stderr for coana error and not stdout
1 parent a3e0922 commit 8402ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/coana.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function spawnCoana(
3939
)
4040
return { ok: true, data: output.stdout.trim() }
4141
} catch (e) {
42-
const message = (e as any)?.stdout ?? (e as Error)?.message
42+
const message = (e as any)?.stderr ?? (e as Error)?.message
4343
return { ok: false, data: e, message }
4444
}
4545
}

0 commit comments

Comments
 (0)