HPCC-9034 Minor fix for displaying errors/warnings

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>