diff --git a/CHANGES b/CHANGES index 31803f5b47..e7f14b6b6e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,9 @@ +2.5-beta-29 | 2016-09-28 18:18:35 -0700 + + * Prettifying reporter output in case no epxression is associated + with runtime error. (Robin Sommer) + 2.5-beta-28 | 2016-09-27 11:44:33 -0700 * Check if the number of fields in a log write are equal to the diff --git a/VERSION b/VERSION index 90bb498cc5..b96c237f4e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5-beta-28 +2.5-beta-29 diff --git a/src/Reporter.cc b/src/Reporter.cc index cbd8402c9d..4823b33ef3 100644 --- a/src/Reporter.cc +++ b/src/Reporter.cc @@ -318,7 +318,7 @@ void Reporter::DoLog(const char* prefix, EventHandlerPtr event, FILE* out, FatalError("out of memory in Reporter"); } - if ( postfix ) + if ( postfix && *postfix ) // Note, if you change this fmt string, adjust the additional // buffer size above. safe_snprintf(buffer + strlen(buffer), size - strlen(buffer), " [%s]", postfix);