Skip to content

Commit 8dff680

Browse files
committed
Include machine name in error message for failed 'git pull' updates
1 parent 3e6a26f commit 8dff680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClockworkFramework/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ await Task.Run(() =>
121121
{
122122
Utilities.WriteToConsoleWithColor($"Failed to update library {library.Name} ({result.ExitCode}). Log output below.\n\n{result.StdOut}\n\n{result.StdErr}", ConsoleColor.Red);
123123

124-
string message = $"'git pull' failed for library {library.Name}.";
124+
string message = $"'git pull' failed for library {library.Name} ({Environment.MachineName}).";
125125
if (result.StdErr.Contains("not a git repository"))
126126
{
127127
message += " If this is not a git repository, turn off updateRepository in config.json";

0 commit comments

Comments
 (0)