Skip to content

Commit 74fba47

Browse files
committed
library index load as library error
1 parent bcfbde5 commit 74fba47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: commands/instances.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ func Init(req *rpc.InitRequest, responseCallback func(r *rpc.InitResponse)) erro
406406
responseError(&arduino.InitFailedError{
407407
Code: codes.FailedPrecondition,
408408
Cause: fmt.Errorf(tr("Loading index file: %v", err)),
409-
Reason: rpc.FailedInstanceInitReason_FAILED_INSTANCE_INIT_REASON_INDEX_LOAD_ERROR,
409+
Reason: rpc.FailedInstanceInitReason_FAILED_INSTANCE_INIT_REASON_LIBRARY_LOAD_ERROR,
410410
})
411411
}
412412

0 commit comments

Comments
 (0)