Added support for capturing error output of reproter