disable debug log
This commit is contained in:
parent
904f3794a9
commit
c9e7f10034
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue