Skip to content

Commit

Permalink
fix error being printed in index parsing during first start (arduino#…
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos authored Feb 23, 2022
1 parent 734d1c9 commit 2f2cbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/instance/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func CreateInstanceAndRunFirstUpdate() *rpc.Instance {
// we must use instance.Create instead of instance.CreateAndInit for the
// reason stated above.
if err := FirstUpdate(inst); err != nil {
feedback.Errorf(tr("Error updating indexes: %v"), status)
feedback.Errorf(tr("Error updating indexes: %v"), err)
os.Exit(errorcodes.ErrGeneric)
}
return inst
Expand Down

0 comments on commit 2f2cbe2

Please sign in to comment.