Skip to content

Commit

Permalink
Merge pull request #1288 from matkoniecz/feature/log-cache-error
Browse files Browse the repository at this point in the history
Log caching errors.
  • Loading branch information
mdsimpson42 authored Jan 4, 2024
2 parents 90044bd + c056550 commit eda98b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/tiles/renderers/getTileWithCaching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ async function getTileWithCaching(tileParams: TileParams, dataParams: any, tileC
const im = await renderTile(tileParams, dataParams);
try {
await tileCache.put(im, tileParams);
} catch (err) {}
} catch (err) {
console.error(err);
}
return im;
}
}
Expand Down

0 comments on commit eda98b5

Please sign in to comment.