diff --git a/pylsp/config/config.py b/pylsp/config/config.py index 5637ca60..4ddb4988 100644 --- a/pylsp/config/config.py +++ b/pylsp/config/config.py @@ -32,7 +32,7 @@ def _hookexec( try: return self._inner_hookexec(hook_name, methods, kwargs, firstresult) except Exception as e: # pylint: disable=broad-except - log.warning(f"Failed to load hook {hook_name}: {e}") + log.warning(f"Failed to load hook {hook_name}: {e}", exc_info=True) return []