catch update stat exception. Send email when job failed