Skip to content

Commit

Permalink
added more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Enn3Developer committed Jul 10, 2024
1 parent 3883dc8 commit 0aac58b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ internal sealed class Program
[STAThread]
public static void Main(string[] args)
{
VelopackApp.Build().Run();
BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
try
{
VelopackApp.Build().Run();
BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
}
catch (Exception e)
{
Console.Error.WriteLine(e);
}
}

// Avalonia configuration, don't remove; also used by visual designer.
Expand Down

0 comments on commit 0aac58b

Please sign in to comment.