Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelbeltran committed Jun 4, 2024
1 parent ed439e2 commit 892be0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions examples/aws-lambda-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ TODO
## Interesting files to look

- `raygun.client.js`
- Setup of Raygun (lines 9-14)
- Setup of Raygun (lines 9-14)
- `app.js`
- Sets the user (lines 17-19)
- Attaches Raygun Breadcrumb middleware to Express (line 26)
- Attaches Raygun to Express (line 53)
- Sets the user (lines 17-19)
- Attaches Raygun Breadcrumb middleware to Express (line 26)
- Attaches Raygun to Express (line 53)
- `routes/index.js`
- `/send` endpoint: Sends a custom error to Raygun (lines 11-34)
- `/error` endpoint: Tries to use a fake object, which bounces up to the Express handler (lines 36-49)
- `/send` endpoint: Sends a custom error to Raygun (lines 11-34)
- `/error` endpoint: Tries to use a fake object, which bounces up to the Express handler (lines 36-49)
4 changes: 3 additions & 1 deletion lib/raygun.breadcrumbs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export function addBreadcrumb(
lineNumber: callsite?.lineNumber || undefined,
};

debug(`[raygun.breadcrumbs.ts] recorded breadcrumb: ${internalCrumb.message}`);
debug(
`[raygun.breadcrumbs.ts] recorded breadcrumb: ${internalCrumb.message}`,
);

crumbs.push(internalCrumb);
}
Expand Down

0 comments on commit 892be0b

Please sign in to comment.