Skip to content

Commit daad825

Browse files
committed
Output header message to libMesh::err
This gives the usual redundancy when multiple ranks throw errors, but that's worth it to still output the header when only a non-root rank throws.
1 parent 76b0b8b commit daad825

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/base/libmesh.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ void libmesh_terminate_handler()
278278
{
279279
// If we have an active exception, it may have an error message that
280280
// we should print.
281-
std::cout << "libMesh terminating";
281+
libMesh::err << "libMesh terminating";
282282
std::exception_ptr ex = std::current_exception();
283283
if (ex)
284284
{

0 commit comments

Comments
 (0)