Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/airbrake #21

Merged
merged 5 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: update readme
  • Loading branch information
bharathvaj-ganesan committed Apr 27, 2021
commit 6ab8f60a715cb073e893b1f6f5dd47ae5c50eea3
6 changes: 5 additions & 1 deletion packages/airbrake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ AirbrakeFullStory.init(airbrakeNotifier, {

## How it works

In Airbrake, you should see the `fullstoryUrl` in the context tab under occurences of an Error
In Airbrake, you should see the `fullstoryUrl` in the context tab under occurences of an Error.

![Airbrake](https://i.imgur.com/bwMMLFA.png)

In FullStory, you should see an event called `Airbrake Error` on the right sidebar along with the Airbrake'e error URL.

![FullStory](https://i.imgur.com/emqBOm3.png)
2 changes: 1 addition & 1 deletion packages/airbrake/src/AirbrakeFullStory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AirbrakeFullStory {

// Add fullstory link to Airbrake
client.addFilter((notice) => {
notice.context.fullStoryLink = FullStory.getCurrentSessionURL(true) || 'current session URL API not ready';
notice.context.fullstoryUrl = FullStory.getCurrentSessionURL(true) || 'current session URL API not ready';
return notice;
});

Expand Down