Improve reporting of errors

Include full traceback of exception.