diff --git a/MapControl/Shared/ImageLoader.cs b/MapControl/Shared/ImageLoader.cs index 12f843c6..97bd9b4c 100644 --- a/MapControl/Shared/ImageLoader.cs +++ b/MapControl/Shared/ImageLoader.cs @@ -117,9 +117,16 @@ namespace MapControl } } } - catch (OperationCanceledException) + catch (OperationCanceledException ex) { - Logger?.LogTrace("Cancelled loading image from {uri}", uri); + if (ex.InnerException is TimeoutException timeout) + { + Logger?.LogError(timeout, "Failed loading image from {uri}", uri); + } + else + { + Logger?.LogTrace("Cancelled loading image from {uri}", uri); + } } catch (Exception ex) {