mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 14:11:59 -07:00
crashreporter: skip first possibly cut off line in log tail
This commit is contained in:
@@ -119,7 +119,7 @@ void CrashReporter::createAndSaveCrash(int sig) {
|
|||||||
|
|
||||||
finalCrashReport += "\n\nLog tail:\n";
|
finalCrashReport += "\n\nLog tail:\n";
|
||||||
|
|
||||||
finalCrashReport += Debug::rollingLog;
|
finalCrashReport += Debug::rollingLog.substr(Debug::rollingLog.find("\n") + 1);
|
||||||
|
|
||||||
const auto HOME = getenv("HOME");
|
const auto HOME = getenv("HOME");
|
||||||
const auto CACHE_HOME = getenv("XDG_CACHE_HOME");
|
const auto CACHE_HOME = getenv("XDG_CACHE_HOME");
|
||||||
|
Reference in New Issue
Block a user