fetchMetadata

open suspend override fun fetchMetadata(startDate: Date?, endDate: Date?): Result<Unit>

Never throws for a load failure: the result reaches TilePyramid and TileLayer on the main dispatcher, where an escaped exception kills the host app. SourceMetadata.load rethrows com.xweather.mapsgl.error.AuthenticationError (a java.lang.Error), so this catches Throwable. Cancellation still propagates.