From fe2f9ab6ac5ea72cb159f67f036e2a1f305be7c0 Mon Sep 17 00:00:00 2001 From: Forrest Feaser Date: Mon, 16 Dec 2024 15:48:18 -0500 Subject: [PATCH] Address MR comments 2 --- .../geomesa/fs/storage/converter/ConverterStorageFactory.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-convert/src/main/scala/org/locationtech/geomesa/fs/storage/converter/ConverterStorageFactory.scala b/geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-convert/src/main/scala/org/locationtech/geomesa/fs/storage/converter/ConverterStorageFactory.scala index 92ec21e00dd..13007a3533d 100644 --- a/geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-convert/src/main/scala/org/locationtech/geomesa/fs/storage/converter/ConverterStorageFactory.scala +++ b/geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-convert/src/main/scala/org/locationtech/geomesa/fs/storage/converter/ConverterStorageFactory.scala @@ -43,7 +43,7 @@ class ConverterStorageFactory extends FileSystemStorageFactory with LazyLogging val pathFiltering = Option(context.conf.get(PathFilterName)).flatMap { name => val factory = PathFilteringFactory.load(NamedOptions(name, pathFilteringOpts.toMap)) if (factory.isEmpty) { - logger.warn(s"Failed to load ${classOf[PathFiltering].getName} for config '$name'") + throw new IllegalArgumentException(s"Failed to load ${classOf[PathFiltering].getName} for config '$name'") } factory }