Skip to content

Commit 3db3d81

Browse files
zandersocommit-bot@chromium.org
authored andcommitted
[dart:io] Remove error number print from windows process spawning
The error number is already reported in the ProcessException, and the log print might pollute the result of GetLastError(). TEST=N/A Change-Id: Ia280d02525e688c1891bb1ff3131b1569a35083e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185203 Commit-Queue: Zach Anderson <[email protected]> Reviewed-by: Alexander Aprelev <[email protected]>
1 parent dbe2dee commit 3db3d81

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

runtime/bin/process_win.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,6 @@ class ProcessStarter {
564564
reinterpret_cast<STARTUPINFOW*>(&startup_info), &process_info);
565565

566566
if (result == 0) {
567-
Syslog::PrintErr("CreateProcessW failed %d\n", GetLastError());
568567
return CleanupAndReturnError();
569568
}
570569

0 commit comments

Comments
 (0)