This commit is contained in:
parent
405f002f58
commit
ebd87a8f20
|
|
@ -122,6 +122,7 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
|
||||||
// Report errors asynchronously. InitializeAsync is designed not to throw.
|
// Report errors asynchronously. InitializeAsync is designed not to throw.
|
||||||
Log.InitializationFailed(_logger, ex);
|
Log.InitializationFailed(_logger, ex);
|
||||||
UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false));
|
UnhandledException?.Invoke(this, new UnhandledExceptionEventArgs(ex, isTerminating: false));
|
||||||
|
await TryNotifyClientErrorAsync(Client, GetClientErrorMessage(ex), ex);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue