summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 39b1f55f..e167467f 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -223,7 +223,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL)
}
catch (const std::exception& err) {
add_error_context("While parsing transaction amount:\n");
- throw err;
+ throw;
}
}
@@ -270,7 +270,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL)
}
catch (const std::exception& err) {
add_error_context("While parsing transaction cost:\n");
- throw err;
+ throw;
}
if (xact->cost->sign() < 0)
@@ -389,7 +389,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL)
}
catch (const std::exception& err) {
add_error_context("While parsing assigned balance:\n");
- throw err;
+ throw;
}
}
}
@@ -434,7 +434,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL)
catch (const std::exception& err) {
add_error_context("While parsing transaction:\n");
add_error_context(line_context(line, in.tellg()));
- throw err;
+ throw;
}
}