diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-04 00:14:20 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-04 00:14:20 +0000 |
| commit | fb45f8f2f9efd988f2f5cef5cf74d6cba19e6b0c (patch) | |
| tree | 495b83f741440514dc0828e7b1204d842b3e55a9 /src/debug/CrashReporter.cpp | |
| parent | c1217066d1e7c6cd12f43134f9ef1145787f7905 (diff) | |
crashReporter: remove inconsistent log from crash reports
Diffstat (limited to 'src/debug/CrashReporter.cpp')
| -rw-r--r-- | src/debug/CrashReporter.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp index e9a51803..713f91df 100644 --- a/src/debug/CrashReporter.cpp +++ b/src/debug/CrashReporter.cpp @@ -14,18 +14,18 @@ std::string getRandomMessage() { const std::vector<std::string> MESSAGES = {"Sorry, didn't mean to...", - "This was an accident, I swear!", - "Calm down, it was a misinput! MISINPUT!", - "Oops", - "Vaxry is going to be upset.", - "Who tried dividing by zero?!", - "Maybe you should try dusting your PC in the meantime?", - "I tried so hard, and got so far...", - "I don't feel so good...", - "*thud*", - "Well this is awkward.", - "\"stable\"", - "I hope you didn't have any unsaved progress."}; + "This was an accident, I swear!", + "Calm down, it was a misinput! MISINPUT!", + "Oops", + "Vaxry is going to be upset.", + "Who tried dividing by zero?!", + "Maybe you should try dusting your PC in the meantime?", + "I tried so hard, and got so far...", + "I don't feel so good...", + "*thud*", + "Well this is awkward.", + "\"stable\"", + "I hope you didn't have any unsaved progress."}; std::random_device dev; std::mt19937 engine(dev()); @@ -44,7 +44,7 @@ void CrashReporter::createAndSaveCrash(int sig) { finalCrashReport += "--------------------------------------------\n Hyprland Crash Report\n--------------------------------------------\n"; finalCrashReport += getRandomMessage() + "\n\n"; - finalCrashReport += getFormat("Hyprland received signal %d (%s): Segmentation Fault\n\n", sig, strsignal(sig)); + finalCrashReport += getFormat("Hyprland received signal %d (%s)\n\n", sig, strsignal(sig)); if (!g_pPluginSystem->getAllPlugins().empty()) { finalCrashReport += "Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.\nPlugins:\n"; |
