diff --git a/g2log/src/g2log.cpp b/g2log/src/g2log.cpp index a2d61e7..7b788a0 100644 --- a/g2log/src/g2log.cpp +++ b/g2log/src/g2log.cpp @@ -132,7 +132,7 @@ namespace g2 { error << "FATAL CALL but logger is NOT initialized\n" << "SIGNAL: " << message.get()->signal() << "\nMessage: \n" << message.get()->toString() << std::flush; - std::cerr << error << std::flush; + std::cerr << error.str() << std::flush; internal::exitWithDefaultSignalHandler(message.get()->_signal_id); }