Skip to content

Conversation

@devlead
Copy link
Member

@devlead devlead commented Dec 5, 2025

Add top-level exception handling to GeneratorScriptHost to match BuildScriptHost behavior. This ensures CakeReportException reports are displayed before rethrowing, providing consistent error output between dotnet cake and dotnet cake.cs commands.

Add top-level exception handling to GeneratorScriptHost to match BuildScriptHost behavior.
This ensures CakeReportException reports are displayed before rethrowing, providing consistent error output between `dotnet cake` and `dotnet cake.cs` commands.

* Fixes cake-build#45
@devlead devlead merged commit 649e9ec into cake-build:develop Dec 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missed top-level exception handling in GeneratorScriptHost comparing to BuildScriptHost

1 participant