Skip to content

Commit

Permalink
add in logging to HandleConnectionError (#3185)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluepilledgreat authored Oct 16, 2024
1 parent 9edd5fe commit d4d41bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,13 @@ private void UpdateProgressBar()

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))
Expand Down

0 comments on commit d4d41bd

Please sign in to comment.