Skip to content

Commit

Permalink
improved docs
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelbeltran committed Jun 7, 2024
1 parent 515f8c4 commit 4dac6e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ exports.handler = awsHandler({ client }, async function (event, context) {
});
```

**Important:** The `awsHandler` will rethrow the error back to AWS once it has been captured.

### Adding breadcrumbs to Raygun error reports

Breadcumbs are included automatically to all error reports sent from the `awsHandler` or when using the `send()` method.
Expand Down
2 changes: 1 addition & 1 deletion examples/aws-lambda-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RaygunError
Response
{
"errorType": "string",
"errorMessage": "AWS Error from callback!",
"errorMessage": "It's an AWS error!",
"trace": []
}
Expand Down

0 comments on commit 4dac6e8

Please sign in to comment.