Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blaginin committed Dec 9, 2024
1 parent 2045495 commit 06c013d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion datafusion/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,11 @@ where
{
input.parse().map_err(|e| {
DataFusionError::Context(
format!("Error parsing '{}' as {}", input, stringify!(T),),
format!(
"Error parsing '{}' as {}",
input,
std::any::type_name::<T>()
),
Box::new(DataFusionError::External(Box::new(e))),
)
})
Expand Down

0 comments on commit 06c013d

Please sign in to comment.