We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b09939 commit 7620ce6Copy full SHA for 7620ce6
derive/src/impl_attribute.rs
@@ -74,7 +74,7 @@ pub fn godot_script_impl(
74
#godot_types::prelude::FromGodot::try_from_variant(
75
args.get(#index).ok_or(#godot_types::sys::GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS)?
76
).map_err(|err| {
77
- #godot_types::log::godot_error!("failed to convert variant: {}", err);
+ #godot_types::log::godot_error!("failed to convert variant for argument {} of {}: {}", stringify!(#arg_name), #fn_name_str, err);
78
#godot_types::sys::GDEXTENSION_CALL_ERROR_INVALID_ARGUMENT
79
})?
80
}
0 commit comments