File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -98,9 +98,17 @@ static int VerifyArgumentsAndRun()
98
98
if ( arguments != null )
99
99
{
100
100
Logger . WriteInfo ( string . Empty ) ;
101
- Logger . WriteInfo ( "Here is the current git graph (please include in issue): " ) ;
101
+ Logger . WriteInfo ( "Attempting to show the current git graph (please include in issue): " ) ;
102
102
Logger . WriteInfo ( "Showing max of 100 commits" ) ;
103
- GitTools . LibGitExtensions . DumpGraph ( arguments . TargetPath , Logger . WriteInfo , 100 ) ;
103
+
104
+ try
105
+ {
106
+ GitTools . LibGitExtensions . DumpGraph ( arguments . TargetPath , Logger . WriteInfo , 100 ) ;
107
+ }
108
+ catch ( Exception dumpGraphException )
109
+ {
110
+ Logger . WriteError ( "Couldn't dump the git graph due to the following error: " + dumpGraphException ) ;
111
+ }
104
112
}
105
113
return 1 ;
106
114
}
You can’t perform that action at this time.
0 commit comments