Skip to content

Commit ce1935b

Browse files
committed
LoopAppManager: force-unwrap watch/statusExtension managers in diagnostic report
Both fields are implicitly-unwrapped optionals that are guaranteed to be set by the time the diagnostic report runs; reflecting the Optional wrappers produced opaque "Optional(...)" lines that obscured the underlying state. Matches how the other manager fields above and below these lines are rendered.
1 parent 830af33 commit ce1935b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Loop/Managers/LoopAppManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,9 +1067,9 @@ extension LoopAppManager: DiagnosticReportGenerator {
10671067
await alertManager.generateDiagnosticReport(),
10681068
await deviceDataManager.generateDiagnosticReport(),
10691069
"",
1070-
String(reflecting: self.watchManager),
1070+
String(reflecting: self.watchManager!),
10711071
"",
1072-
String(reflecting: self.statusExtensionManager),
1072+
String(reflecting: self.statusExtensionManager!),
10731073
"",
10741074
await loopDataManager.generateDiagnosticReport(),
10751075
"",

0 commit comments

Comments
 (0)