From 5410d9286c10cbb151a7f79fa46205751a47dd65 Mon Sep 17 00:00:00 2001 From: Hadi Sharghi Date: Sat, 26 Aug 2023 19:31:23 +0330 Subject: [PATCH] fix AsyncJobEventDelegate.error(job:error:) considered as a protocol requirement --- Sources/Queues/AsyncJobEventDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Queues/AsyncJobEventDelegate.swift b/Sources/Queues/AsyncJobEventDelegate.swift index c9589af..0d79f50 100644 --- a/Sources/Queues/AsyncJobEventDelegate.swift +++ b/Sources/Queues/AsyncJobEventDelegate.swift @@ -47,7 +47,7 @@ extension AsyncJobEventDelegate { public func success(jobId: String) async throws { } public func success(job: JobEventData) async throws { } public func error(jobId: String, error: Error) async throws { } - public func error(job: JobEventData) async throws { } + public func error(job: JobEventData, error: Error) async throws { } public func dispatched(job: JobEventData, eventLoop: EventLoop) -> EventLoopFuture { eventLoop.makeFutureWithTask {