mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/lookup: log handler errors
Silences them unless debug mode is on
This commit is contained in:
@ -118,7 +118,7 @@ This can be passed nil as its second argument to unset handlers for MODES. e.g.
|
|||||||
(result (condition-case e
|
(result (condition-case e
|
||||||
(+lookup--run-handler handler identifier)
|
(+lookup--run-handler handler identifier)
|
||||||
(error
|
(error
|
||||||
(message "Lookup handler %S threw an error: %s" handler e)
|
(doom-log "Lookup handler %S threw an error: %s" handler e)
|
||||||
'fail))))
|
'fail))))
|
||||||
(cond ((eq result 'fail)
|
(cond ((eq result 'fail)
|
||||||
(set-window-configuration wconf)
|
(set-window-configuration wconf)
|
||||||
|
Reference in New Issue
Block a user