agermanidis / livepython

Visually trace Python code in real-time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enhancement - on start up - throw error if script bombs out

johndpope opened this issue · comments

usually just running python will uncover exceptions - but it would be great to propagate this out to console.

https://docs.python.org/3/howto/logging.html

maybe we can just add
import logging

except Exception as err:
failed = True
log(json.dumps(generate_exception_event(err)))
logging.error(err)

this helps propagate error to console
screen shot 2018-06-20 at 12 11 22 pm

this should be merged....