You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix empty lines being added for errors with no script backtrace
This commit is contained in:
@@ -153,7 +153,9 @@ static void handle_crash(int sig) {
|
||||
}
|
||||
if (!script_backtraces.is_empty()) {
|
||||
for (const Ref<ScriptBacktrace> &backtrace : script_backtraces) {
|
||||
print_error(backtrace->format());
|
||||
if (!backtrace->is_empty()) {
|
||||
print_error(backtrace->format());
|
||||
}
|
||||
}
|
||||
print_error("-- END OF SCRIPT BACKTRACE --");
|
||||
print_error("================================================================");
|
||||
|
||||
Reference in New Issue
Block a user