From 0f9874655b8c59d26ac82ef5636a07870e27f612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miskolczi=20Rich=C3=A1rd?= Date: Sun, 16 Apr 2023 20:46:14 +0200 Subject: [PATCH] Event handler method --- CLI/Program.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CLI/Program.cs b/CLI/Program.cs index e228368..b41a8e5 100644 --- a/CLI/Program.cs +++ b/CLI/Program.cs @@ -36,5 +36,10 @@ class Program } + static void ErrorOccured(Exception e) + { + Console.WriteLine($"The following error occured while trying to load your profile:\n{e}\nMore details:\n{e.ToString()}"); + } + } }