summaryrefslogtreecommitdiffhomepage
path: root/source/filesystem.go
diff options
context:
space:
mode:
Diffstat (limited to 'source/filesystem.go')
-rw-r--r--source/filesystem.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/filesystem.go b/source/filesystem.go
index 7bdcd702f..82bcad6e6 100644
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -105,6 +105,9 @@ func (f *Filesystem) captureFiles() {
if err != nil {
jww.ERROR.Println(err)
+ if err == helpers.WalkRootTooShortError {
+ panic("The root path is too short. If this is a test, make sure to init the content paths.")
+ }
}
}