fix(app): non-fatal error handling

This commit is contained in:
adamelmore 2026-01-27 06:27:27 -06:00
commit 095328faf4
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
14 changed files with 341 additions and 199 deletions

View file

@ -0,0 +1,10 @@
import { base64Decode } from "@opencode-ai/util/encode"
export function decode64(value: string | undefined) {
if (value === undefined) return
try {
return base64Decode(value)
} catch {
return
}
}