From d4d41bdd4f4bb419738864fb5ad71c74d8a39fd1 Mon Sep 17 00:00:00 2001 From: Matt <97983689+bluepilledgreat@users.noreply.github.com> Date: Wed, 16 Oct 2024 23:03:25 +0100 Subject: [PATCH] add in logging to HandleConnectionError (#3185) --- Bloxstrap/Bootstrapper.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 7e0b5ab..7a42594 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -116,8 +116,13 @@ namespace Bloxstrap private void HandleConnectionError(Exception exception) { + const string LOG_IDENT = "Bootstrapper::HandleConnectionError"; + _noConnection = true; + App.Logger.WriteLine(LOG_IDENT, "Connectivity check failed"); + App.Logger.WriteException(LOG_IDENT, exception); + string message = Strings.Dialog_Connectivity_Preventing; if (exception.GetType() == typeof(AggregateException))