You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Cargo.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[package]
2
2
name = "etradeTaxReturnHelper"
3
-
version = "0.3.0"
3
+
version = "0.3.1"
4
4
edition = "2021"
5
5
description = "Parses etrade financial documents for transaction details (income, tax paid, cost basis) and compute total income and total tax paid according to chosen tax residency (currency)"
// Gather all trade , settlement and transaction dates into hash map to be passed to
@@ -238,8 +236,7 @@ pub fn run_taxation(
238
236
},
239
237
);
240
238
241
-
rd.get_exchange_rates(&mut dates)
242
-
.expect_and_log("Error: unable to get exchange rates");
239
+
rd.get_exchange_rates(&mut dates).map_err(|x| "Error: unable to get exchange rates. Please check your internet connection or proxy settings\n\nDetails:".to_string()+&x)?;
243
240
244
241
// Make a detailed_div_transactions
245
242
let transactions = create_detailed_div_transactions(parsed_div_transactions,&dates);
assert_eq!( result ,Err("\n\nERROR: Sold transaction detected, but corressponding Gain&Losses document is missing. Please download Gain&Losses XLSX document at:\n
0 commit comments