Skip to content

Commit

Permalink
Reverting "temporary enable backtrace generation when error caught"
Browse files Browse the repository at this point in the history
Revert "temporary enable backtrace generation when error caught"

This reverts commit 31be62a.
  • Loading branch information
alexott committed Jun 14, 2012
1 parent 31be62a commit 4697bf9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ecb.el
Original file line number Diff line number Diff line change
Expand Up @@ -1369,15 +1369,14 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
'ecb-compilation-update-menu)
)
(error
(backtrace)
;; (backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the basic setup of ECB." err-obj)))

(condition-case err-obj
;; run personal hooks before drawing the layout
(run-hooks 'ecb-activate-before-layout-draw-hook)
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the hooks of ecb-activate-before-layout-draw-hook."
err-obj)))
Expand Down Expand Up @@ -1427,7 +1426,6 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(ecb-mode-line-format)
)
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the layout setup of ECB." err-obj))
)
Expand All @@ -1441,15 +1439,13 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(ecb-fix-filename (with-current-buffer (window-buffer edit-window)
default-directory)))))
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Errors during setting the default directory." err-obj)))

(condition-case err-obj
;; we run any personal hooks
(run-hooks 'ecb-activate-hook)
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the hooks of ecb-activate-hook." err-obj)))

Expand All @@ -1464,7 +1460,6 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(if (ecb-show-any-node-info-by-mouse-moving-p)
(tree-buffer-activate-follow-mouse))
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the mouse-tracking activation." err-obj)))

Expand All @@ -1485,7 +1480,6 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(ecb-run-with-idle-timer 0.25 nil 'ecb-display-upgraded-options)
(ecb-display-news-for-upgrade))
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Error during the compatibility-check of ECB." err-obj)))

Expand All @@ -1508,7 +1502,6 @@ value of VAR is as before storing a NEW-VALUE for variable-symbol VAR."
(setq ecb-activated-window-configuration
(ecb-current-window-configuration))
(error
(backtrace)
(ecb-clean-up-after-activation-failure
"Errors during the snapshot of the windows-configuration." err-obj)))
))))
Expand Down

0 comments on commit 4697bf9

Please sign in to comment.