diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-16 05:52:58 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:03 -0400 |
commit | 06c0e4707a49db778f49d109dab194472bfe73be (patch) | |
tree | af1658a18a4afac9594e8f968a3c2ff0651e653b /ledger.el | |
parent | c0285de46b2534f4d6ff39df64b2a445adc19d77 (diff) | |
download | fork-ledger-06c0e4707a49db778f49d109dab194472bfe73be.tar.gz fork-ledger-06c0e4707a49db778f49d109dab194472bfe73be.tar.bz2 fork-ledger-06c0e4707a49db778f49d109dab194472bfe73be.zip |
(ledger-auto-reconcile): If auto-reconciling fails, report an error in
the minibuffer.
Diffstat (limited to 'ledger.el')
-rw-r--r-- | ledger.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -255,7 +255,9 @@ Return the difference in the format of a time value." (replace-match "\\\\\\1")) (buffer-string)) "--reconcile-date" date "register" account))) - (when (= 0 exit-code) + (if (/= 0 exit-code) + (error "Failed to reconcile account '%s' to balance '%s'" + account balance) (goto-char (point-min)) (unless (looking-at "[0-9]") (error (buffer-string))) |