We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b28c82 commit 57bf3f5Copy full SHA for 57bf3f5
1 file changed
src/bourso_api/src/client/transfer/mod.rs
@@ -15,10 +15,18 @@ impl BoursoWebClient {
15
reason: Option<&str>,
16
) -> Result<()> {
17
// Minimum amount is 10 EUR
18
+
19
if amount < 10.0 {
20
bail!(TransferError::AmountTooLow);
21
}
22
23
+ log::debug!(
24
+ "Initiating transfer of {:.2} EUR from account {} to account {}",
25
+ amount,
26
+ from_account.id,
27
+ to_account.id
28
+ );
29
30
let transfer_from_banking = from_account.kind == AccountKind::Banking;
31
32
let from_account = &from_account.id;
0 commit comments