Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Commit 0e4dd00

Browse files
committed
log exception
1 parent 40b3715 commit 0e4dd00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/BuildPreparer.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ private string GetCurrentCommitHash(string moduleName)
9292
var repo = new GitRepository(moduleName, Helper.CurrentWorkspace, log);
9393
return repo.CurrentLocalCommitHash();
9494
}
95-
catch (Exception)
95+
catch (Exception e)
9696
{
97-
ConsoleWriter.WriteWarning($"Failed to retrieve local commit hash for '{moduleName}'");
97+
ConsoleWriter.WriteWarning($"Failed to retrieve local commit hash for '{moduleName}': {e}");
9898
return null;
9999
}
100100
}

0 commit comments

Comments
 (0)