Fixed bug where errors weren't picked up by cee