mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding debug to sentry.
This commit is contained in:
parent
4ae4d39526
commit
1ab0af2ef1
3 changed files with 6 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
- name: Reload node
|
||||
become: yes
|
||||
command: "docker kill --signal=HUP {{ item.container_name }}"
|
||||
command: "docker restart {{ item.container_name }}"
|
||||
when: item.target_host in inventory_hostname
|
||||
with_items:
|
||||
- container_name: node
|
||||
|
@ -26,4 +26,6 @@
|
|||
target_host: node-text
|
||||
- container_name: node
|
||||
target_host: node-favicons
|
||||
- container_name: node
|
||||
target_host: staging-web
|
||||
|
||||
|
|
|
@ -23,8 +23,9 @@ if not ENV_DEV and not ENV_PROD and not ENV_DOCKER
|
|||
throw new Error("Set envvar NODE_ENV=<development,docker,production>")
|
||||
|
||||
if ENV_PROD
|
||||
Sentry.init({
|
||||
Sentry.init
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
debug: true,
|
||||
integrations: [
|
||||
new Sentry.Integrations.Http({ tracing: true }),
|
||||
new Tracing.Integrations.Express({
|
||||
|
@ -32,7 +33,6 @@ if ENV_PROD
|
|||
})
|
||||
],
|
||||
tracesSampleRate: 1.0
|
||||
})
|
||||
|
||||
app.use(Sentry.Handlers.requestHandler())
|
||||
app.use(Sentry.Handlers.tracingHandler())
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
if (ENV_PROD) {
|
||||
Sentry.init({
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
debug: true,
|
||||
integrations: [
|
||||
new Sentry.Integrations.Http({
|
||||
tracing: true
|
||||
|
|
Loading…
Add table
Reference in a new issue