The role of the SNP government in this crisis has, so far, largely gone unnoticed.