Skip to content

Commit bc8b435

Browse files
committed
v.builder: provide more detailed error message, on msvc: failed to build a thirdparty object, not just the failed command
1 parent f0d5300 commit bc8b435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/v/builder/msvc_windows.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ fn (mut v Builder) build_thirdparty_obj_file_with_msvc(_mod string, path string,
507507
time.sleep(thirdparty_obj_build_retry_delay)
508508
}
509509
if res.exit_code != 0 {
510-
verror('msvc: failed to build a thirdparty object after ${i}/${thirdparty_obj_build_max_retries} retries, cmd: ${cmd}')
510+
verror('msvc: failed to build a thirdparty object after ${i}/${thirdparty_obj_build_max_retries} retries, cmd: ${cmd}\nresult:${res.output}')
511511
}
512512
$if trace_thirdparty_obj_files ? {
513513
println(res.output)

0 commit comments

Comments
 (0)