Normally there won't be any errors on the stack here, but it looks like sometimes there can be so I've added a consume errors here.