Make sure to print errors in __main__ completions

This commit is contained in:
Dave Halter
2020-02-02 23:28:55 +01:00
parent e3c4b5b77e
commit e802f5aabd

View File

@@ -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()