The New York Times, which endorsed Hillary Clinton for president, mostly took a pass on criticizing the candidate this week after a federal report found she had flouted government rules as secretary of state.

In an editorial published Thursday night, the paper encouraged Clinton to make "a far greater investment of candor" in order to rebound from the growing controversy.

"Donald Trump, her Republican rival, will be merciless in swinging the inspector general's report like a cudgel," said the Times. "Accordingly, Mrs. Clinton now faces a measurably greater challenge in proving that she is the well-qualified politician her supporters know her to be, based on her varied career as a senator, secretary of state and first lady deeply involved in public life. This is a challenge to be faced not with a contrived campaign makeover, but with a far greater investment of candor before the public."

The paper said Clinton should "answer questions about the report thoroughly and candidly."

The inspector general for the State Department said Wednesday that Clinton "did not comply with the department's policies" when she used a personal email server for her electronic communications and declined to turn over many of her messages when her tenure ended.

The Clinton campaign responded to the report saying that "there is no evidence of any successful breach of the secretary's server" but the inspector general still said her practice of using a private server was not allowed and would not have been approved by the federal government.