1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Remove confusing USER prefix from script-logged errors

This commit is contained in:
Sébastien Dunne Fulmer
2024-08-27 15:00:48 +01:00
parent db76de5de8
commit c3ed8a842c
3 changed files with 3 additions and 17 deletions

View File

@@ -84,11 +84,7 @@ void Logger::log_error(const char *p_function, const char *p_file, int p_line, c
err_details = p_code;
}
if (p_editor_notify) {
logf_error("%s: %s\n", err_type, err_details);
} else {
logf_error("USER %s: %s\n", err_type, err_details);
}
logf_error("%s: %s\n", err_type, err_details);
logf_error(" at: %s (%s:%i)\n", p_function, p_file, p_line);
}