Closed virtuald closed 9 years ago
Also, we should package/configure this by default: http://word.bitly.com/post/69080588278/logging-locals
It's really useful if an exception happens in some thread and you can see the locals that may have caused the problem.
If we package the locals logging stuff, then robotBase should be configured to do a logging.exception() also instead of just raising the exception, to give the user better information.
This might fall into the utility library category, but I think it would be nice for us to provide a good default implementation of python logging configuration so when bugs occur, users can easily retrieve error information.
This is related to deployment, I think. https://github.com/frc1418/robotpy-2015/issues/2