mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
Preserve plugin diagnostics without degrading overall status
This commit is contained in:
@@ -47,6 +47,8 @@ def _format_finding(finding: DoctorFinding) -> list[str]:
|
||||
marker = finding.severity.value.upper()
|
||||
if finding.fixed:
|
||||
marker = "FIXED"
|
||||
elif not finding.affects_report_status:
|
||||
marker = f"{marker}/ADVISORY"
|
||||
lines = [f"[{marker}] {finding.title}", f"ID: {finding.id}"]
|
||||
if finding.detail:
|
||||
lines.append(f"原因: {finding.detail}")
|
||||
|
||||
Reference in New Issue
Block a user