One senior law enforcement official told the network that Wray is frustrated that his opinion on the memo's release is landing on deaf ears in the White House.
The potential release of the memo penned by House Intelligence Chairman Rep. Devin Nunes has set up a standoff with Trump against both the FBI and Department of Justice. Although the President has signaled that he is inclined to release the memo, as part of an effort to undercut the special counsel Robert Mueller's investigation, senior officials inside the White House are trying to come up with a solution that satisfies both the President and law enforcement officials like Wray and Deputy Attorney General Rod Rosenstein.
Wray has not explicitly said he would quit if the memo is released, but some White House officials do not hold his resignation outside the realm of possibilities:
Another person familiar with discussions about the memo said Wray didn't threaten to quit when he met with Kelly earlier this week and in numerous conversations since, but White House chief of staff John Kelly believes that is a real possibility and has been working on a way to avoid another departure from an already turbulent Trump administration.