process output in error messages, but also on console
reducing output