diff --git a/CHANGELOG.md b/CHANGELOG.md index 92ef8ddce..c34d549d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,8 +83,8 @@ * Add new `unhandled_throwing_task` rule that triggers when a Task with an implicit error type has unhandled trys or errors thrown inside its body. This results in errors being silently discarded, which may be unexpected. + See this forum thread for more details: https://forums.swift.org/t/56066 [kylebshr](https://github.com/kylebshr) - [#4958](https://github.com/realm/SwiftLint/pull/4958) #### Bug Fixes diff --git a/Source/SwiftLintBuiltInRules/Rules/Lint/UnhandledThrowingTaskRule.swift b/Source/SwiftLintBuiltInRules/Rules/Lint/UnhandledThrowingTaskRule.swift index 49b6818d9..ab369eaf6 100644 --- a/Source/SwiftLintBuiltInRules/Rules/Lint/UnhandledThrowingTaskRule.swift +++ b/Source/SwiftLintBuiltInRules/Rules/Lint/UnhandledThrowingTaskRule.swift @@ -10,7 +10,7 @@ struct UnhandledThrowingTaskRule: ConfigurationProviderRule, SwiftSyntaxRule { Errors thrown inside this task are not handled, which may be unexpected. \ Handle errors inside the task, or use `try await` to access the Tasks value and handle errors. \ See this forum thread for more details: \ - https://forums.swift.org/t/task-initializer-with-throwing-closure-swallows-error/56066) + https://forums.swift.org/t/task-initializer-with-throwing-closure-swallows-error/56066 """, kind: .lint, nonTriggeringExamples: [