Forgot to only log errors if they occur