Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 3fbd62b

Browse files
committed
More logging
1 parent af44d27 commit 3fbd62b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.Api/Tasks/ProcessTask.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ public void Run()
161161
errorCode = ((Win32Exception)ex).NativeErrorCode;
162162

163163
StringBuilder sb = new StringBuilder();
164+
sb.AppendLine($"Error code {errorCode}");
165+
sb.AppendLine(ex.Message);
164166
if (Process.StartInfo.Arguments.Contains("-credential"))
165167
sb.AppendLine($"'{Process.StartInfo.FileName} {taskName}'");
166168
else

0 commit comments

Comments
 (0)