Exception logging

This commit is contained in:
ClemensFischer 2025-04-01 10:09:57 +02:00
parent 6ca1496095
commit 65828c9c24
3 changed files with 39 additions and 64 deletions

View file

@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
#if WPF
@ -181,14 +180,7 @@ namespace MapControl
if (boundingBox != null)
{
try
{
image = await GetImageAsync(boundingBox, loadingProgress);
}
catch (Exception ex)
{
Debug.WriteLine($"MapImageLayer.GetImageAsync: {ex.Message}");
}
image = await GetImageAsync(boundingBox, loadingProgress);
}
SwapImages(image, boundingBox);