summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-01 09:44:53 +0200
committerGitHub <noreply@github.com>2019-07-01 09:44:53 +0200
commit336010d676196caee68e903fe9b61d9e877c6167 (patch)
treebf972beed88e7ecf1ac95e70500efe4e01170fc8 /main/main.cpp
parente4a50999c04094f905ac7df46b14634d7f9552a7 (diff)
parent92ea1c3cca60e5b1b95a0163bf0822c0ec2491cb (diff)
Merge pull request #28572 from lupoDharkael/trace-info
Add godot version in backtrace message
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 815e940a0a..9ddb4c0bb5 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -356,7 +356,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
ClassDB::register_class<Performance>();
engine->add_singleton(Engine::Singleton("Performance", performance));
- GLOBAL_DEF("debug/settings/crash_handler/message", String("Please include this when reporting the bug on https://github.com/godotengine/godot/issues"));
+ GLOBAL_DEF("debug/settings/crash_handler/message", "Godot version: " + get_full_version_string() + String("\nPlease include this when reporting the bug on https://github.com/godotengine/godot/issues"));
MAIN_PRINT("Main: Parse CMDLine");