fix: log rollback error instead of swallowing silently

This commit is contained in:
Forte11Cuba
2026-03-30 23:36:52 -06:00
parent 03cf1d2119
commit 682ec4ba7d
+3 -1
View File
@@ -365,7 +365,9 @@ class _OfflineSendScreenState extends State<OfflineSendScreen> {
if (proofsMarkedPending) {
try {
await _proofService.markProofsUnspent(selectedProofs);
} catch (_) {}
} catch (rollbackErr) {
debugPrint('Failed to rollback proofs to UNSPENT: $rollbackErr');
}
}
if (!mounted) return;
final errorMessage = L10n.of(context)!.creatingTokenError(e.toString());