Skip to content

Commit 5085388

Browse files
committed
Collect binlogs on restore failure
1 parent fb56573 commit 5085388

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ProjectTemplates/Shared/Project.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ internal async Task RunDotNetNewAsync(
124124
result.ExitCode = -1;
125125
}
126126

127+
CaptureBinLogOnFailure(execution);
128+
127129
Assert.True(0 == result.ExitCode, ErrorMessages.GetFailedProcessMessage("create/restore", this, result));
128130
}
129131

0 commit comments

Comments
 (0)