disable debug log

This commit is contained in:
Miko 2025-01-07 23:58:40 +01:00
parent 904f3794a9
commit c9e7f10034

View file

@ -107,7 +107,7 @@ export class LocalDemManager {
* @throws If an error occurs fetching or processing the tile. * @throws If an error occurs fetching or processing the tile.
*/ */
async GetTile(url, abortController) { async GetTile(url, abortController) {
console.log(url); //console.log(url);
const $zxy = this.extractZXYFromUrlTrim(url); const $zxy = this.extractZXYFromUrlTrim(url);
if (!$zxy) { if (!$zxy) {
throw new Error(`Could not extract zxy from $url`); throw new Error(`Could not extract zxy from $url`);
@ -171,7 +171,7 @@ export class LocalDemManager {
}; };
} catch (error) { } catch (error) {
if (error.name === 'AbortError') { if (error.name === 'AbortError') {
console.log('fetch cancelled'); console.log('fetch canceled');
return null; return null;
} }
throw error; throw error;