Improve error message for unexpectedly repeated fields

parent 1cd40f51
Pipeline #40725 failed with stages
in 52 minutes and 55 seconds
......@@ -168,7 +168,7 @@ case class SectionH5(
case 1 =>
Some(vColl.head)
case l =>
throw new CalculationH5.CalculationH5Error(s"cannot get maybeValue for $this as it is repeated and has $l repetitions")
throw new CalculationH5.CalculationH5Error(s"cannot get maybeValue for $metaName from $this as it is repeated and has $l repetitions")
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment