diff --git a/crates/dagger-codegen/src/functions.rs b/crates/dagger-codegen/src/functions.rs index e5c1cf1..a55b50d 100644 --- a/crates/dagger-codegen/src/functions.rs +++ b/crates/dagger-codegen/src/functions.rs @@ -1,6 +1,7 @@ use std::sync::Arc; use dagger_core::introspection::{FullType, InputValue, TypeRef, __TypeKind}; +use eyre::ContextCompat; use crate::utility::OptionExt; @@ -87,6 +88,7 @@ impl CommonFunctions { .map(|t| t.clone()) .map(|t| *t) .map(|t| self.format_type(&t, input)) + .context("could not get inner type of list") .unwrap(); representation =