diff --git a/bulk_writer.js b/bulk_writer.js
index <HASH>..<HASH> 100644
--- a/bulk_writer.js
+++ b/bulk_writer.js
@@ -74,7 +74,7 @@ BulkWriter.prototype.flush = function flush() {
       res.items.forEach((item) => {
         if (item.index && item.index.error) {
           // eslint-disable-next-line no-console
-          console.error('Elasticsearch index error', item.index.error);
+          console.error('Elasticsearch index error', item);
         }
       });
     }
@@ -83,7 +83,7 @@ BulkWriter.prototype.flush = function flush() {
     thiz.bulk = bulk.concat(thiz.bulk);
     // eslint-disable-next-line no-console
     console.error(e);
-    debug('error occrrued', e);
+    debug('error occurred', e);
     this.stop();
     this.checkEsConnection();
   });
fixed typo, log item instead of only the error in case of index error