X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/929f1553a7e60441bee2b53fed3530445a7299cf..3e4e36646abc246c52b6001b2a04ab70c31060b5:/build-hooks/post-build?ds=sidebyside diff --git a/build-hooks/post-build b/build-hooks/post-build index a727cf1..8934fb2 100755 --- a/build-hooks/post-build +++ b/build-hooks/post-build @@ -56,6 +56,7 @@ from invirt.config import structs as config def make_msg(build, values, verbose=True, success=lambda x: x, failure=lambda x: x): values = dict(values) if not verbose and values['traceback'] is not None: + # TODO: better heuristic values['traceback'] = textwrap.fill('\n'.join(values['traceback'].split('\n')[-2:])) if build.succeeded: