Fixes errors being ignored.