Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
arsnova-click-v2-backend
Commits
47905a41
Commit
47905a41
authored
Nov 25, 2019
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Works on sentry config
parent
44b0806d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/main.ts
src/main.ts
+8
-8
No files found.
src/main.ts
View file @
47905a41
...
...
@@ -38,14 +38,14 @@ interface IInetAddress {
address
:
string
;
}
if
(
process
.
env
.
NODE_ENV
===
'
production
'
)
{
sentryInit
({
dsn
:
process
.
env
.
SENTRY_DSN
,
integrations
:
[
new
Integrations
.
OnUncaughtException
(),
new
Integrations
.
OnUnhandledRejection
()
,
]
,
});
}
sentryInit
(
{
dsn
:
process
.
env
.
SENTRY_DSN
,
integrations
:
[
new
Integrations
.
OnUncaughtException
(),
new
Integrations
.
OnUnhandledRejection
(),
]
,
enabled
:
process
.
env
.
NODE_ENV
===
'
production
'
,
debug
:
true
,
}
);
(
<
IGlobal
>
global
).
DAO
=
{
AssetDAO
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment