From b030b18f5428f6555093980ecb3d508b4ef6fa4c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Mar 2017 17:54:27 +0200 Subject: Adjust to new diagnostics epilogue semantics --- bpkg/diagnostics | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bpkg/diagnostics b/bpkg/diagnostics index 3ae1b72..a1a785f 100644 --- a/bpkg/diagnostics +++ b/bpkg/diagnostics @@ -210,7 +210,11 @@ namespace bpkg : basic_mark_base (type, nullptr, data, - [](const diag_record&) {throw failed ();}) {} + [](const diag_record& r) + { + r.flush (); + throw failed (); + }) {} }; using fail_mark = butl::diag_mark; -- cgit v1.1