Move dbg error http entrypoint handler to debug ns.

This commit is contained in:
Andrey Antukh 2021-12-30 16:01:36 +01:00
parent 758ffbf217
commit bf66b81702
6 changed files with 39 additions and 50 deletions

View file

@ -90,7 +90,6 @@
:storage (ig/ref :app.storage/storage)
:tokens (ig/ref :app.tokens/tokens)
:audit-http-handler (ig/ref :app.loggers.audit/http-handler)
:error-report-handler (ig/ref :app.loggers.database/handler)
:rpc (ig/ref :app.rpc/rpc)}
:app.http.debug/handlers
@ -292,9 +291,6 @@
:pool (ig/ref :app.db/pool)
:executor (ig/ref :app.worker/executor)}
:app.loggers.database/handler
{:pool (ig/ref :app.db/pool)}
:app.loggers.sentry/reporter
{:dsn (cf/get :sentry-dsn)
:trace-sample-rate (cf/get :sentry-trace-sample-rate 1.0)