Commit b9985ce8 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update error message on ContentIndex

parent 665d2f79
......@@ -160,7 +160,7 @@ class ContentIndex
filteredFiles = files.filter (file) -> file not in ['.DS_Store', 'readme.md', 'index.html', '.git', '.gitignore']
return filteredFiles
.catch (error) ->
throw new Error "Could not create sites: #{error}"
throw new Error "Could not create index from directory #{directory}: #{error}"
#
# Private
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment