have even realized where and how it happened if wasn't for Tarkin 

-The breaches have been filled. Jedha has been silenced.
-You think this pilot acted alone? He was dispatched from the installation on Eadu... Galen Erso's facility.
-Ah, we'll see about this.

But since the question is about the events in the Battle of Scarif, let's see some of Krennic's key strategic failures AFTER he got to Scarif for the last time:

His first and biggest mistake is that he assumed command of the complex and led the defense against the rebels exactly despite him having no training or experience in tactical command. (Judging by that, and given his insignia, his rank was equivalent to that of an Admiral, and as such, he outranked General Ramda, the Commanding Officer of thea military commander, as a scientist and Director of the Advanced Weapons Research one would expect that his first concert would be at least to safeguard the Research Program archives. He instead threw all forces, even his personal guard into the decoy battle, leaving the vault virtually unguarded. When he thought of checking this out, he took only two men with him.

-Send my guard squadron into battle. Get that beach under control! Two men with me, now.

So Tarkin was not completely unjustified to blame Krennic: In the very end, it was his inadequacy first as a Director (which started the chain of events in Rogue One) and subsequently as a Commanding Officer (which resulted in the leak of the plans to the Rebel Alliance) that eventually led to