|
|
@ -95,7 +95,8 @@ namespace QuickPlay
|
|
|
|
{
|
|
|
|
{
|
|
|
|
playercfg = await cfgProvider.GetConfigurationAsync();
|
|
|
|
playercfg = await cfgProvider.GetConfigurationAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception e) when (e is Java.Net.UnknownHostException)
|
|
|
|
// FIXME: These are provider-specific exceptions!
|
|
|
|
|
|
|
|
catch (Exception e) when (e is Java.Net.UnknownHostException || e is OperationCanceledException || e is HttpRequestException)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var ctx = Android.App.Application.Context;
|
|
|
|
var ctx = Android.App.Application.Context;
|
|
|
|
var t = Android.Widget.Toast.MakeText(ctx, "Could not load config:" + e.Message, Android.Widget.ToastLength.Long);
|
|
|
|
var t = Android.Widget.Toast.MakeText(ctx, "Could not load config:" + e.Message, Android.Widget.ToastLength.Long);
|
|
|
|