mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
fix #1640
This commit is contained in:
@@ -34,7 +34,7 @@ function extractLogDetailsFromLogs(logs: string[]): { level: string; time: strin
|
|||||||
const matches = RegExp(logPattern).exec(log)
|
const matches = RegExp(logPattern).exec(log)
|
||||||
if (matches && matches.length === 5) {
|
if (matches && matches.length === 5) {
|
||||||
const [_, level, time, program, content] = matches
|
const [_, level, time, program, content] = matches
|
||||||
logDetails.push({ level, time, program, content })
|
logDetails.unshift({ level, time, program, content })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user