@@ -165,7 +165,7 @@ function! s:GoInstallBinaries(updateBinaries, ...)
165
165
" first download the binary
166
166
let [l: out , l: err ] = go#util#Exec (l: get_cmd + [l: importPath ])
167
167
if l: err
168
- call go#util#EchoError (printf (' Error installing %s: %s' , l: importPath , l: out ))
168
+ call go#util#EchoError (printf (' Error installing %s: %s' , l: importPath , l: err ))
169
169
endif
170
170
171
171
call call (Restore_modules, [])
@@ -185,7 +185,7 @@ function! s:GoInstallBinaries(updateBinaries, ...)
185
185
" first download the binary
186
186
let [l: out , l: err ] = go#util#Exec (l: get_cmd + [l: importPath ])
187
187
if l: err
188
- call go#util#EchoError (printf (' Error downloading %s: %s' , l: importPath , l: out ))
188
+ call go#util#EchoError (printf (' Error downloading %s: %s' , l: importPath , l: err ))
189
189
endif
190
190
191
191
" and then build and install it
@@ -196,7 +196,7 @@ function! s:GoInstallBinaries(updateBinaries, ...)
196
196
197
197
let [l: out , l: err ] = go#util#Exec (l: build_cmd )
198
198
if l: err
199
- call go#util#EchoError (printf (' Error installing %s: %s' , l: importPath , l: out ))
199
+ call go#util#EchoError (printf (' Error installing %s: %s' , l: importPath , l: err ))
200
200
endif
201
201
202
202
0 commit comments