Handler error in writeBatch.Flush (#1421)
Handler error in writeBatch.Flush (#1421)

The writeBatch.Flush was skipping the error returned by wb.Commit() call.
We shouldn't ignore the error.

dgraph-io/badger,dgraph-io/badger