Skip to content

Commit 98dc9c0

Browse files
authored
Include traceback when plugin fails to loading (#250)
1 parent 196058b commit 98dc9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pylsp/config/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _hookexec(
3232
try:
3333
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
3434
except Exception as e: # pylint: disable=broad-except
35-
log.warning(f"Failed to load hook {hook_name}: {e}")
35+
log.warning(f"Failed to load hook {hook_name}: {e}", exc_info=True)
3636
return []
3737

3838

0 commit comments

Comments
 (0)