Page MenuHomeSoftware Heritage

sentry.js
No OneTemporary

sentry.js

/**
* Copyright (C) 2019 The Software Heritage developers
* See the AUTHORS file at the top-level directory of this distribution
* License: GNU Affero General Public License version 3, or any later version
* See top-level LICENSE file for more information
*/
import * as Sentry from '@sentry/browser';
// Called by a <script> object in the header, after the configuration is
// loaded.
export function sentryInit(sentryDsn) {
if (sentryDsn !== undefined) {
Sentry.init({dsn: sentryDsn});
}
}
// May be used in other scripts to report exceptions.
export function sentryCaptureException(exc) {
Sentry.captureException(exc);
}

File Metadata

Mime Type
text/html
Expires
Jul 4 2025, 7:28 PM (7 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3343099

Event Timeline