Removed sendErrorPush and moved logic to a generic sendPush