Skip to content

Commit 19b9573

Browse files
committed
Incorporated PR feedback.
1 parent b666642 commit 19b9573

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/src/main/scala/org/locationtech/rasterframes/expressions/generators/RasterSourceToRasterRefs.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ case class RasterSourceToRasterRefs(children: Seq[Expression], bandIndexes: Seq[
7676
}
7777
catch {
7878
case NonFatal(ex)
79-
val description = Try(children.map(c => RasterSourceType.deserialize(c.eval(input))))
80-
.toOption.toSeq.flatten.mkString(", ")
79+
val description = "Error fetching data for one of: " +
80+
Try(children.map(c => RasterSourceType.deserialize(c.eval(input))))
81+
.toOption.toSeq.flatten.mkString(", ")
8182
throw new java.lang.IllegalArgumentException(description, ex)
8283
}
8384
}

0 commit comments

Comments
 (0)