Replaced die with set error and added extra criteria to only select tweets without errors to send