mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +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():
|
for c in jedi.Script(sys.argv[2]).complete():
|
||||||
c.docstring()
|
c.docstring()
|
||||||
c.type
|
c.type
|
||||||
except Exception:
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
pdb.post_mortem()
|
pdb.post_mortem()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user