Commit 4fc5acd
Sébastien HEYD
refactor(logs): improve log parsing and message formatting in LogFile model
- Replace absolute paths with relative paths in log messages using base_path()
- Simplify stacktrace processing logic by removing unnecessary conditionals
- Set errorLineNumber immediately when log entry is created instead of complex detection
- Remove redundant '[stacktrace]' line detection and pattern matching checks1 parent 07abb6d commit 4fc5acd
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 96 | | |
104 | | - | |
105 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
106 | 100 | | |
107 | 101 | | |
108 | 102 | | |
| |||
0 commit comments