Skip to content

sentry support - #1199

Merged
kwm4385 merged 1 commit into
decaffrom
sentry
Aug 10, 2016
Merged

sentry support#1199
kwm4385 merged 1 commit into
decaffrom
sentry

Conversation

@kwm4385

@kwm4385 kwm4385 commented Aug 9, 2016

Copy link
Copy Markdown
Contributor

This PR allows sentry to support the UI by surfacing errors out of the main rendering promise in rootComponent. Sentry can't detect errors inside promises because they aren't bubbled up to window.onerror. (Actual sentry tracking code is injected normally through SINGULARITY_EXTRA_SCRIPTS.

@tpetr @Calvinp @wolfd

{{#extraScript}}
{{{extraScript}}}
{{/extraScript}}
<script src="{{{staticRoot}}}/js/app.js"></script>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this ordering affect things like our Heap integration? /cc @wolfd

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so (wolf can verify). Sentry does need to be loaded before our code though.

@kwm4385
kwm4385 merged commit 828a08f into decaf Aug 10, 2016
@kwm4385
kwm4385 deleted the sentry branch August 10, 2016 20:26
@tpetr tpetr modified the milestone: 0.10.0 Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants