added stderr and stdout to error result