Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
truncate potentially long CompositeErrors #2871
If you have a typo in a task on 100 engines, the local exception will be a bit ridiculous.
This defaults the truncation to 4 tracebacks (could be even fewer, or even one?), and you can set the tb_limit attribute of CompositeError to adjust this.
Prompted by this SO question.
added a commit
this pull request
Feb 20, 2013
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
There's a test for the format of CompositeErrors, which we'll need to update to match this. Test failure details: https://jenkins.shiningpanda-ci.com/ipython/job/ipython-multi/PLATFORM=debian6,PYTHON=CPython-2.7/378/testReport/IPython.parallel.tests.test_view/TestView/test_compositeerror_render_exception/