Skip to content

Commit cf9827a

Browse files
committed
Only catch PathLongException
1 parent 1a1ef8c commit cf9827a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Build/Evaluation/Evaluator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ internal static void Evaluate(
345345
{
346346
evaluator.Evaluate();
347347
}
348-
catch (Exception ex)
348+
catch (PathTooLongException ex)
349349
{
350350
evaluator._evaluationLoggingContext.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File),
351351
ex.Message);

0 commit comments

Comments
 (0)