log errors

This commit is contained in:
thesn10
2026-05-23 21:27:59 +02:00
parent f3cbb7c8ff
commit 86e8d37e4f

View File

@@ -81,6 +81,7 @@ export function EscrowDetail({ item, onAction }: EscrowDetailProps) {
setSuccess(`Done! Tx: ${sig.slice(0, 20)}`)
onAction?.()
} catch (err: unknown) {
console.error(err)
setError(err instanceof Error ? err.message : String(err))
} finally {
setLoading(false)