Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
344
Merge Requests
57
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
724615af
Commit
724615af
authored
27 minutes ago
by
Ben Hayward
Browse files
Options
Download
Removed changes to app module
parent
2631bf89
fix/autoplay-bug-2377
1 merge request
!712
Plyr play error
Pipeline
#108423566
running with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
src/app/app.module.ts
View file @
724615af
...
...
@@ -75,30 +75,9 @@ import { UpgradesModule } from './modules/upgrades/upgrades.module';
import
*
as
Sentry
from
'
@sentry/browser
'
;
Sentry
.
init
({
dsn
:
'
https://
2c055120c4384ee8a62f580bcec36e32@sentry.io/1875291
'
,
dsn
:
'
https://
3f786f8407e042db9053434a3ab527a2@sentry.io/1538008
'
,
// TODO: do not hardcard
release
:
environment
.
version
,
environment
:
(
<
any
>
window
.
Minds
).
environment
||
'
development
'
,
beforeSend
(
event
)
{
try
{
// discarding errors without stack traces
if
(
event
.
extra
.
__serialized__
.
stack
===
'
[undefined]
'
||
event
.
extra
.
__serialized__
.
stack
===
'
[native code]
'
)
{
return
null
;
}
// checking stack frames for packages to ignore.
const
stackFrames
=
event
.
exception
.
values
[
'
0
'
].
stacktrace
.
frames
;
for
(
const
stack
of
stackFrames
)
{
if
(
stack
.
filename
.
includes
(
'
plyr
'
))
{
return
null
;
}
}
}
catch
(
e
)
{}
return
event
;
},
});
@
Injectable
()
...
...
This diff is collapsed.
Please
register
or
sign in
to comment