mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
add in logging to HandleConnectionError
This commit is contained in:
parent
9edd5fe2da
commit
04d809012c
@ -116,8 +116,13 @@ namespace Bloxstrap
|
|||||||
|
|
||||||
private void HandleConnectionError(Exception exception)
|
private void HandleConnectionError(Exception exception)
|
||||||
{
|
{
|
||||||
|
const string LOG_IDENT = "Bootstrapper::HandleConnectionError";
|
||||||
|
|
||||||
_noConnection = true;
|
_noConnection = true;
|
||||||
|
|
||||||
|
App.Logger.WriteLine(LOG_IDENT, "Connectivity check failed");
|
||||||
|
App.Logger.WriteException(LOG_IDENT, exception);
|
||||||
|
|
||||||
string message = Strings.Dialog_Connectivity_Preventing;
|
string message = Strings.Dialog_Connectivity_Preventing;
|
||||||
|
|
||||||
if (exception.GetType() == typeof(AggregateException))
|
if (exception.GetType() == typeof(AggregateException))
|
||||||
|
Loading…
Reference in New Issue
Block a user