impl: wait in ClientRetrieve

This commit is contained in:
Łukasz Magiera
2020-08-18 15:27:56 +02:00
parent add56c8b81
commit 4cd56b3b99
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -868,7 +868,7 @@ var clientRetrieveCmd = &cli.Command{
}
if evt.Err != "" {
return xerrors.Errorf("retrieval failed: %v", err)
return xerrors.Errorf("retrieval failed: %s", evt.Err)
}
case <-ctx.Done():
return xerrors.Errorf("retrieval timed out")