mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Exception logging
This commit is contained in:
parent
6ca1496095
commit
65828c9c24
3 changed files with 39 additions and 64 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue