mirror of
https://github.com/stablyai/orca.git
synced 2026-09-25 08:02:31 +00:00
fix(main): guard empty markdown relay results
This commit is contained in:
@@ -47,8 +47,10 @@ export async function requestMobileMarkdownFromRenderer(
|
||||
}
|
||||
if (error) {
|
||||
reject(error)
|
||||
} else {
|
||||
} else if (result) {
|
||||
resolve(result)
|
||||
} else {
|
||||
reject(new Error('renderer_unavailable'))
|
||||
}
|
||||
}
|
||||
const timeout = setTimeout(
|
||||
|
||||
Reference in New Issue
Block a user