Просмотр исходного кода

Fixed bug that wasn't showing the StaticRootPath when validation failed

Robert McLeod 9 лет назад
Родитель
Сommit
cacf14a41e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/setting/setting.go

+ 1 - 1
pkg/setting/setting.go

@@ -386,7 +386,7 @@ func validateStaticRootPath() error {
 		return nil
 	}
 
-	return errors.New("Failed to detect generated css or javascript files in static root (%s), have you executed default grunt task?")
+	return fmt.Errorf("Failed to detect generated css or javascript files in static root (%s), have you executed default grunt task?", StaticRootPath)
 }
 
 func NewConfigContext(args *CommandLineArgs) error {