tools/lookup: log handler errors
Silences them unless debug mode is on
This commit is contained in:
parent
d481fc1dd4
commit
927dcb274d
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ This can be passed nil as its second argument to unset handlers for MODES. e.g.
|
|||
(result (condition-case e
|
||||
(+lookup--run-handler handler identifier)
|
||||
(error
|
||||
(message "Lookup handler %S threw an error: %s" handler e)
|
||||
(doom-log "Lookup handler %S threw an error: %s" handler e)
|
||||
'fail))))
|
||||
(cond ((eq result 'fail)
|
||||
(set-window-configuration wconf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue