logging segment error to slack