diff --git a/Sources/Testing/ExitTests/ExitTest.swift b/Sources/Testing/ExitTests/ExitTest.swift index 2a058a7f9..5526a0d94 100644 --- a/Sources/Testing/ExitTests/ExitTest.swift +++ b/Sources/Testing/ExitTests/ExitTest.swift @@ -470,7 +470,7 @@ extension ExitTest { } catch { // NOTE: an error caught here indicates an I/O problem. // TODO: should we record these issues as systemic instead? - Issue.record(error) + Issue(for: error).record() return } @@ -482,7 +482,7 @@ extension ExitTest { } catch { // NOTE: an error caught here indicates a decoding problem. // TODO: should we record these issues as systemic instead? - Issue.record(error) + Issue(for: error).record() } } }