We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e9d2c6 commit 4bb9cbfCopy full SHA for 4bb9cbf
1 file changed
client/driver.go
@@ -292,7 +292,10 @@ func WaitBPDatabaseCreation(
292
}
293
fmt.Printf("\rQuerying SQLChain Profile %vs", count*int(period.Seconds()))
294
case <-ctx.Done():
295
- return errors.Wrapf(ctx.Err(), "last error: %s", err.Error())
+ if err != nil {
296
+ return errors.Wrapf(ctx.Err(), "last error: %s", err.Error())
297
+ }
298
+ return ctx.Err()
299
300
301
0 commit comments