log insert fail error message.