Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Update handleException call to pass the baseUrl (#6967)

Tom Carielloec01d48cacd0
diff --git a/tasks/build-options/getVisMetadata.js b/tasks/build-options/getVisMetadata.js
index 18b4944c1..c773f1599 100644
--- a/tasks/build-options/getVisMetadata.js
+++ b/tasks/build-options/getVisMetadata.js
@@ -229,7 +229,7 @@ async function getMetadata (layerId, baseUrl, count) {
}
return [layerId, daac]
} catch (error) {
- return await handleException(error, layerId, url, count)
+ return await handleException(error, layerId, baseUrl, count)
}
}