diff options
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r-- | build2/test/rule.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index 25eb0b8..8e39104 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -399,7 +399,8 @@ namespace build2 } catch (const std::exception& e) { - *diag_stream << "unhandled exception: " << e; + diag_lock l; + *diag_stream << "unhandled exception: " << e << endl; assert (false); abort (); } |