drag (one) over the coals
To scold, reprimand, or reprove someone severely for an error or mistake. I was dragged over the coals by my boss last week for messing up the accounting software. I know Mary messed up, but don't drag her over the coals too hard for it.