summaryrefslogtreecommitdiff
path: root/src/debug/CrashReporter.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-17 11:50:31 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-17 11:51:16 +0000
commit5b924aaf608d91e411bd4c05751dc0b7323c36a7 (patch)
tree9848d35e13f4dcf158d09c6009ee878bad1d9523 /src/debug/CrashReporter.cpp
parent606cb2832aff2c7305da1f880ce732f7eb464d04 (diff)
crashReporter: add hl ver
Diffstat (limited to 'src/debug/CrashReporter.cpp')
-rw-r--r--src/debug/CrashReporter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp
index 713f91df..4037ad44 100644
--- a/src/debug/CrashReporter.cpp
+++ b/src/debug/CrashReporter.cpp
@@ -46,6 +46,8 @@ void CrashReporter::createAndSaveCrash(int sig) {
finalCrashReport += getFormat("Hyprland received signal %d (%s)\n\n", sig, strsignal(sig));
+ finalCrashReport += getFormat("Version: %s\n\n", GIT_COMMIT_HASH);
+
if (!g_pPluginSystem->getAllPlugins().empty()) {
finalCrashReport += "Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.\nPlugins:\n";