mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Make sure to print errors in __main__ completions
This commit is contained in:
@@ -48,7 +48,8 @@ def _complete():
|
||||
for c in jedi.Script(sys.argv[2]).complete():
|
||||
c.docstring()
|
||||
c.type
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
pdb.post_mortem()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user