[go: up one dir, main page]

Skip to content

fix: Capture program exceptions and print in user-friendly way #28

When something goes wrong in the build or serve processes (and it most definitively will), the program crashes. Well, we are not fixing anything here, but at least print the sh*t in a very delicate manner!

As a bonus, it now properly return 0 for success and 1 for errors. Good for CI/CD pipelines.

Also, a technical change: I could not figure out how to capture Exceptions using the System.CommanLine beta package (used until now), so I had to replace it for CommanLineParser, which, btw, is much more elegant to use. Sorry .NET guys, we are all about elegance here.

#28 (closed)

Merge request reports

Loading