diff --git a/src/app.js b/src/app.js index 151af22976..c2676f7b4f 100644 --- a/src/app.js +++ b/src/app.js @@ -321,6 +321,9 @@ class App { } var provider = self._components.fileManager.fileProviderOf(url) if (provider) { + if (provider.type === 'localhost' && !provider.isConnected()) { + return filecb(`file provider ${provider.type} not available while trying to resolve ${url}`) + } provider.exists(url, (error, exist) => { if (error) return filecb(error) if (exist) {