log output on failure so we know what's wrong