diff options
author | Craig Earls <enderw88@gmail.com> | 2013-02-15 06:14:33 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-02-15 06:14:33 -0700 |
commit | 7f0693bcdc6829aaad100c52fcb16dacd89aed62 (patch) | |
tree | bc706ce9a3196200a4248d3c7bad5d802adb0dd4 /lisp/ldg-mode.el | |
parent | 089716fb13911ea6a1c044ed5d435809f9e2fff6 (diff) | |
download | fork-ledger-7f0693bcdc6829aaad100c52fcb16dacd89aed62.tar.gz fork-ledger-7f0693bcdc6829aaad100c52fcb16dacd89aed62.tar.bz2 fork-ledger-7f0693bcdc6829aaad100c52fcb16dacd89aed62.zip |
Improved error reporting
Diffstat (limited to 'lisp/ldg-mode.el')
-rw-r--r-- | lisp/ldg-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ldg-mode.el b/lisp/ldg-mode.el index 6cab7c9b..6499d803 100644 --- a/lisp/ldg-mode.el +++ b/lisp/ldg-mode.el @@ -229,7 +229,7 @@ correct chronological place in the buffer." (mapcar 'eval args))) (goto-char (point-min)) (if (looking-at "Error: ") - (error (buffer-string)) + (error (concat "Error in ledger-add-transaction: " (buffer-string)) (buffer-string))) "\n")) (progn |