add log.error

Signed-off-by: Tingxian <chengtingxian@gmail.com>