mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-29 11:14:23 +00:00
fix: include local server stack traces in renderer logs
This commit is contained in:
parent
6f2a6356ed
commit
08d422dca1
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ export function DialogLocalServer() {
|
|||
}
|
||||
|
||||
function requestError(language: ReturnType<typeof useLanguage>, err: unknown) {
|
||||
console.error("Local Server request failed", err)
|
||||
console.error("Local Server request failed", err instanceof Error ? (err.stack ?? err.message) : String(err))
|
||||
showToast({
|
||||
variant: "error",
|
||||
title: language.t("common.requestFailed"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue