Skip to content

Commit

Permalink
Address MR comments 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Forrest Feaser committed Dec 16, 2024
1 parent ef128df commit fe2f9ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit fe2f9ab

Please sign in to comment.