When write to es fails, print error message