Skip to content

Commit

Permalink
Added sentry error
Browse files Browse the repository at this point in the history
  • Loading branch information
jfkonecn committed Oct 8, 2024
1 parent b87da3a commit 81905ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/webapp/app/shared/table/VusTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import MutationConvertIcon from '../icons/MutationConvertIcon';
import AddMutationModal from '../modal/AddMutationModal';
import { Unsubscribe } from 'firebase/database';
import { VUS_TABLE_ID } from 'app/config/constants/html-id';
import { SentryError } from 'app/config/sentry-error';

export interface IVusTableProps extends StoreProps {
hugoSymbol: string | undefined;
Expand Down Expand Up @@ -143,7 +144,8 @@ const VusTable = ({
await sendVusToCore?.(hugoSymbol, vus);
}
} catch (e) {
console.error(e);
const error = new SentryError('Fail to submit VUS data to core.', { exception: e, hugoSymbol });
console.error(error);
}
}

Expand Down

0 comments on commit 81905ae

Please sign in to comment.