diff --git a/ote_sdk/ote_sdk/utils/argument_checks.py b/ote_sdk/ote_sdk/utils/argument_checks.py index 8d8ed9c2e03..17be5c8e2de 100644 --- a/ote_sdk/ote_sdk/utils/argument_checks.py +++ b/ote_sdk/ote_sdk/utils/argument_checks.py @@ -27,10 +27,10 @@ def raise_value_error_if_parameter_has_unexpected_type( if not isinstance(parameter, expected_type): parameter_type = type(parameter) raise ValueError( - f"Unexpected type of '{parameter_name}' parameter, expected: {expected_type}, value: {parameter}" + f"Unexpected type of '{parameter_name}' parameter, expected: {expected_type}, actual: {parameter_type}" ) time_now = datetime.now() - print(f"!_! finished checking {parameter_name} with expected type {expected_type} at {time_now}") + print(f"!_! finished checking {parameter_name} with expected type {expected_type} value:{parameter} at {time_now}") def check_nested_elements_type(iterable, parameter_name, expected_type):