Print format string on failure.