diff --git a/Sources/SendGrid/SendGrid.docc/SendGrid.md b/Sources/SendGrid/SendGrid.docc/SendGrid.md index 06d7c5c..b564579 100644 --- a/Sources/SendGrid/SendGrid.docc/SendGrid.md +++ b/Sources/SendGrid/SendGrid.docc/SendGrid.md @@ -31,8 +31,8 @@ Simply ensure you catch errors thrown like any other throwing function. ```swift do { - try await req.sendgrid.client.send(email) + try await req.sendgrid.client.send(email) } catch let error as SendGridError { - req.logger.error("\(error.errors)") + req.logger.error("\(error.errors)") } ```