diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-01 17:54:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-01 17:54:27 +0200 |
commit | b030b18f5428f6555093980ecb3d508b4ef6fa4c (patch) | |
tree | fbd10bed4c62d0ccf46e11cbe6f7a27633b75331 | |
parent | 967f48c3c9fe62db608cef3b41cc23fd61a5a0be (diff) |
Adjust to new diagnostics epilogue semantics
-rw-r--r-- | bpkg/diagnostics | 6 |
1 files changed, 5 insertions, 1 deletions
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<fail_mark_base>; |