Skip to content

Commit 2f2cbe2

Browse files
authored
fix error being printed in index parsing during first start (#1672)
1 parent 734d1c9 commit 2f2cbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/instance/instance.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func CreateInstanceAndRunFirstUpdate() *rpc.Instance {
159159
// we must use instance.Create instead of instance.CreateAndInit for the
160160
// reason stated above.
161161
if err := FirstUpdate(inst); err != nil {
162-
feedback.Errorf(tr("Error updating indexes: %v"), status)
162+
feedback.Errorf(tr("Error updating indexes: %v"), err)
163163
os.Exit(errorcodes.ErrGeneric)
164164
}
165165
return inst

0 commit comments

Comments
 (0)