Setup proper logging for MapLibre and location views.

This commit is contained in:
Stefan Ceriu
2026-06-11 17:41:48 +03:00
parent 9dd78c0188
commit 67fdbac526
2 changed files with 21 additions and 1 deletions
@@ -66,7 +66,8 @@ struct MapLibreStaticMapView<PinAnnotation: View>: View {
.aspectRatio(contentMode: .fill)
pinAnnotationView
}
case .failure:
case .failure(let error):
let _ = MXLog.error("Failed retrieving tile with error: \(error.localizedDescription)")
errorView
@unknown default:
EmptyView()