From ca789ba9dd3a11af8204370c5289164051eea410 Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Sun, 18 Nov 2018 21:34:07 -0800 Subject: [PATCH] Throw an error if creating a Folder fails. --- src/TileSource.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TileSource.js b/src/TileSource.js index 47a3805..9430489 100644 --- a/src/TileSource.js +++ b/src/TileSource.js @@ -169,6 +169,7 @@ class TileSource { return true; } catch (error) { return error.code === 'EEXIST'; + throw error; } } }