diff --git a/jedi/inference/sys_path.py b/jedi/inference/sys_path.py index e701686f..2e404279 100644 --- a/jedi/inference/sys_path.py +++ b/jedi/inference/sys_path.py @@ -205,7 +205,7 @@ def _get_buildout_script_paths(search_path: Path): except (UnicodeDecodeError, IOError) as e: # Probably a binary file; permission error or race cond. because # file got deleted. Ignore it. - debug.warning(e) + debug.warning(str(e)) continue