fixed typo, log item instead of only the error in case of index error
fixed typo, log item instead of only the error in case of index error

vanthome/winston-elasticsearch,jackdbernier/winston-elasticsearch