catching KeyError to avoid logging that in