Update cmd/lotus-storage-miner/init.go

Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
This commit is contained in:
Frank 2019-11-16 14:16:18 +08:00 committed by GitHub
parent b28ce76e8a
commit c9714b1708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ var initCmd = &cli.Command{
}
if err := storageMinerInit(ctx, cctx, api, lr); err != nil {
log.Errorf("Failed to initialize lotus-storage-miner: %s", err)
log.Errorf("Failed to initialize lotus-storage-miner: %+v", err)
log.Infof("Cleaning up %s after attempt...", lr.Path())
if err := lr.Close(); err != nil {
log.Errorf("Failed to close storage repo: %s", err)