ODS-189: use error/warning depending on severity in summary