diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp index 037cd32f10f8..29cd9f648dd0 100644 --- a/scene/resources/resource_format_text.cpp +++ b/scene/resources/resource_format_text.cpp @@ -281,7 +281,7 @@ Ref ResourceLoaderText::_parse_node_tag(VariantParser::ResourcePars if (error == ERR_FILE_MISSING_DEPENDENCIES) { // Resource loading error, just skip it. } else if (error != ERR_FILE_EOF) { - _printerr(); + ERR_PRINT(vformat("Parse Error: %s. [Resource file %s:%d]", error_names[error], res_path, lines)); return Ref(); } else { error = OK;