From 91a05d636f61784b508170a4f01a64fec1e28b8d Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Thu, 10 Oct 2019 13:15:35 -0400 Subject: [PATCH] redo sentry tag key and values, move ErrorBoundary around embed --- src/components/errorboundary/errorboundary.jsx | 2 +- src/components/page/www/page.jsx | 2 +- src/views/join/join.jsx | 2 +- src/views/preview/embed-view.jsx | 9 +++------ src/views/preview/embed.jsx | 6 ++++-- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/components/errorboundary/errorboundary.jsx b/src/components/errorboundary/errorboundary.jsx index 75d60b8ac..41a641421 100644 --- a/src/components/errorboundary/errorboundary.jsx +++ b/src/components/errorboundary/errorboundary.jsx @@ -19,7 +19,7 @@ class ErrorBoundary extends React.Component { Sentry.withScope(scope => { scope.setTag('project', 'scratch-www'); if (this.props.name) { - scope.setTag('errorboundary', this.props.name); + scope.setTag('component', this.props.name); } Object.keys(errorInfo).forEach(key => { scope.setExtra(key, errorInfo[key]); diff --git a/src/components/page/www/page.jsx b/src/components/page/www/page.jsx index 19142005a..150c03c52 100644 --- a/src/components/page/www/page.jsx +++ b/src/components/page/www/page.jsx @@ -10,7 +10,7 @@ const Page = ({ children, className }) => ( - +
( - +