Don't print exception to stdout This better matches the old behavior.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/49d9fa8b Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/49d9fa8b Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/49d9fa8b Branch: refs/heads/c-bindings-wip2 Commit: 49d9fa8bf6bc8d386dc048cb706173e727fee8cf Parents: 2022a25 Author: Nick Wellnhofer <[email protected]> Authored: Thu Mar 7 18:44:52 2013 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Thu Mar 7 18:44:52 2013 +0100 ---------------------------------------------------------------------- core/Clownfish/Test/TestBatch.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/49d9fa8b/core/Clownfish/Test/TestBatch.c ---------------------------------------------------------------------- diff --git a/core/Clownfish/Test/TestBatch.c b/core/Clownfish/Test/TestBatch.c index df72fb1..403c224 100644 --- a/core/Clownfish/Test/TestBatch.c +++ b/core/Clownfish/Test/TestBatch.c @@ -78,7 +78,8 @@ TestBatch_run(TestBatch *self) { if (err) { failed = true; CharBuf *mess = Err_Get_Mess(err); - TestFormatter_batch_comment(self->formatter, "%s", CB_Get_Ptr8(mess)); + INCREF(mess); + Err_warn_mess(mess); } if (self->num_failed > 0) { failed = true;
