also return stdout on error