Skip to content

Commit

Permalink
Update SendGrid.md
Browse files Browse the repository at this point in the history
Co-authored-by: Mahdi Bahrami <[email protected]>
  • Loading branch information
fpseverino and MahdiBM authored Oct 6, 2024
1 parent 39f8899 commit 0dcf575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SendGrid/SendGrid.docc/SendGrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
}
```

0 comments on commit 0dcf575

Please sign in to comment.