logging errors not breaking server