Fix logging

This commit is contained in:
Leon Böttger committed 2025-05-05 09:36:08 +02:00
1 parent 8f8d46f7aa
commit 199621acf3
26 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ final class LogManager {
let fileURL = URL(fileURLWithPath: logFileURL.path)
do {
let content = try String(contentsOf: fileURL, encoding: .utf8)
return String(content.suffix(10000))
return String(content)
} catch {
log("[LUI] Error reading file: \(error.localizedDescription)")