Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9349521
sentry.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
643 B
Subscribers
None
sentry.js
View Options
/**
* 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
Details
Attached
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
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment