sentry support #1199

Merged
merged 1 commit into from Aug 10, 2016

Conversation

Projects
None yet
2 participants
@kwm4385
Contributor

kwm4385 commented Aug 9, 2016

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>

This comment has been minimized.

@tpetr

tpetr Aug 10, 2016

Member

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

@tpetr

tpetr Aug 10, 2016

Member

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

This comment has been minimized.

@kwm4385

kwm4385 Aug 10, 2016

Contributor

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

@kwm4385

kwm4385 Aug 10, 2016

Contributor

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

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@kwm4385 kwm4385 deleted the sentry branch Aug 10, 2016

@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