You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Remove test error on startup, and send correct user text
This commit is contained in:
@@ -108,7 +108,7 @@ import SoftLogout from './auth/SoftLogout';
|
||||
import { makeRoomPermalink } from "../../utils/permalinks/Permalinks";
|
||||
import { copyPlaintext } from "../../utils/strings";
|
||||
import { PosthogAnalytics } from '../../PosthogAnalytics';
|
||||
import {initSentry, sendSentryReport} from "../../sentry";
|
||||
import { initSentry, sendSentryReport } from "../../sentry";
|
||||
|
||||
/** constants for MatrixChat.state.view */
|
||||
export enum Views {
|
||||
@@ -396,14 +396,6 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
CountlyAnalytics.instance.enable(/* anonymous = */ true);
|
||||
|
||||
initSentry(SdkConfig.get()["sentry"]);
|
||||
setTimeout(() => {
|
||||
try {
|
||||
const e = new Error("whoops");
|
||||
throw(e);
|
||||
} catch (e) {
|
||||
sendSentryReport("user text", "label", e);
|
||||
}
|
||||
}, 4000);
|
||||
}
|
||||
|
||||
private async postLoginSetup() {
|
||||
|
||||
Reference in New Issue
Block a user