Refactor Program.cs for exception handling and partial class

Updated the `try-catch` block in `Program.cs` to rethrow exceptions after logging them, ensuring proper error propagation. Added a `public partial class Program` declaration to enable splitting the `Program` class across multiple files. Adjusted closing braces to align with the new structure.
This commit is contained in:
2026-05-20 11:31:34 +02:00
parent b6420fcc49
commit a3aa6ea7ae

View File

@@ -98,3 +98,5 @@ catch(Exception ex)
logger.Error(ex, "Stopped program because of exception");
throw;
}
public partial class Program;