more trace in minor error [skip ci]

This commit is contained in:
OmarHatem 2025-04-18 04:47:53 +02:00
parent 0899b39ad9
commit 66e1745ad9

View file

@ -11,7 +11,6 @@ import 'package:cake_wallet/generated/i18n.dart';
import 'package:cake_wallet/store/settings_store.dart';
import 'package:cake_wallet/themes/extensions/cake_text_theme.dart';
import 'package:cw_core/crypto_currency.dart';
import 'package:cw_core/currency.dart';
import 'package:cw_core/utils/print_verbose.dart';
import 'package:cw_core/wallet_base.dart';
import 'package:flutter/material.dart';
@ -242,7 +241,7 @@ class OnRamperBuyProvider extends BuyProvider {
if (await canLaunchUrl(uri)) {
await launchUrl(uri, mode: LaunchMode.externalApplication);
} else {
throw Exception('Could not launch URL');
throw Exception('Could not launch URL ${uri.toString()}');
}
}
@ -276,7 +275,7 @@ class OnRamperBuyProvider extends BuyProvider {
if (currency.tag != null) return '_' + _tagToNetwork(currency.tag!);
return '_' + (currency.fullName?.replaceAll(' ', '') ?? currency.title);;
return '_' + (currency.fullName?.replaceAll(' ', '') ?? currency.title);
}
String? normalizePaymentMethod(PaymentType paymentType) {