add output on failure