This commit is contained in:
AlteredCoder 2020-06-01 18:25:17 +02:00
parent f2e38b0d28
commit 7d38b96899

View file

@ -285,6 +285,10 @@ func LoadBucket(g *BucketFactory, dataFolder string) error {
if len(g.Data) > 0 {
for _, data := range g.Data {
if data.DestPath == "" {
g.logger.Errorf("no dest_file provided for '%s'", g.Name)
continue
}
err = exprhelpers.FileInit(dataFolder, data.DestPath, data.Type)
if err != nil {
g.logger.Errorf("unable to init data for file '%s': %s", data.DestPath, err.Error())