Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
407 changes: 0 additions & 407 deletions web/README_ELASTIC_RUM.md

This file was deleted.

502 changes: 445 additions & 57 deletions web/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"dependencies": {
"@ant-design/compatible": "1.0.5",
"@ant-design/icons": "4.2.2",
"@elastic/apm-rum": "^5.17.0",
"@material/button": "0.7.0",
"@paciolan/remote-component": "2.11.0",
"@react-oauth/google": "^0.12.2",
Expand All @@ -22,6 +21,7 @@
"draft-js": "0.11.5",
"draftjs-to-html": "0.9.1",
"emoji-mart": "2.11.1",
"firebase": "^8.10.0",
"flag-icon-css": "3.3.0",
"flat": "5.0.2",
"highcharts": "10.0.0",
Expand Down
293 changes: 0 additions & 293 deletions web/src/components/ElasticRumProvider/index.js

This file was deleted.

8 changes: 0 additions & 8 deletions web/src/components/ErrorBoundary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
TooManyRequestError,
} from 'utils/utils';
import './_ErrorBoundary.scss';
import { captureError } from '../../config/elastic-rum';

class ErrorBoundary extends Component {
constructor(props) {
Expand All @@ -24,13 +23,6 @@ class ErrorBoundary extends Component {
}

componentDidCatch(error, errorInfo) {
if (window?.elasticRum) {
captureError(error, {
context: 'error-boundary',
componentStack: errorInfo?.componentStack,
componentName: this.props?.componentName || 'Unknown',
});
}
console.error(error, errorInfo);
}

Expand Down
Loading