From a230e0aa44409ea33085634764922ba617a15394 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Thu, 31 Aug 2017 09:29:41 +0100 Subject: COMPMID-415: Add ERROR to pretty printer Change-Id: I5dd9a2dd5dc8d500188550c56a26b3fe3d8a4904 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85878 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- framework/printers/PrettyPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/printers/PrettyPrinter.cpp') diff --git a/framework/printers/PrettyPrinter.cpp b/framework/printers/PrettyPrinter.cpp index 631d96917a..6f7174371a 100644 --- a/framework/printers/PrettyPrinter.cpp +++ b/framework/printers/PrettyPrinter.cpp @@ -98,7 +98,7 @@ void PrettyPrinter::print_errors_footer() void PrettyPrinter::print_error(const std::exception &error) { - *_stream << begin_color("1") << error.what() << end_color() << "\n"; + *_stream << begin_color("1") << "ERROR: " << error.what() << end_color() << "\n"; } void PrettyPrinter::print_measurements(const Profiler::MeasurementsMap &measurements) -- cgit v1.2.1