Skip to content

Commit 286fcc5

Browse files
committed
More debug info on the keys
1 parent eedc86e commit 286fcc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/InMemoryElevationProvider.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections.Concurrent;
33
using System.Collections.Generic;
44
using System.IO;
5+
using System.Linq;
56
using System.Threading.Tasks;
67
using ICSharpCode.SharpZipLib.Core;
78
using Microsoft.AspNetCore.Hosting;
@@ -73,7 +74,7 @@ public async Task<double[]> GetElevation(double[][] latLngs)
7374
var key = new Coordinate(Math.Floor(latLng[0]), Math.Floor(latLng[1]));
7475
if (_initializationTaskPerLatLng.ContainsKey(key.ToString()) == false)
7576
{
76-
_logger.LogWarning($"Unable to find elevation file key: {key}, there are {_initializationTaskPerLatLng.Keys.Count} in the tasks list.");
77+
_logger.LogWarning($"Unable to find elevation file key: {key}, keys are {string.Join(";",_initializationTaskPerLatLng.Keys)}");
7778
elevation.Add(0);
7879
continue;
7980
}

0 commit comments

Comments
 (0)