Skip to content

Commit 7b0aaf5

Browse files
committed
Improve error handling in case of exceptions in CLI tool driver.
1 parent 017e119 commit 7b0aaf5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/CLI/CLI.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ static void Main(string[] args)
281281
catch (Exception ex)
282282
{
283283
PrintErrorMessages(errorMessages);
284-
Console.Error.WriteLine(ex.Message);
284+
Console.Error.WriteLine();
285+
286+
throw ex;
285287
}
286288
}
287289
}

0 commit comments

Comments
 (0)