🎉 Add better error reporting.

This commit is contained in:
Andrey Antukh 2021-01-24 16:04:23 +01:00 committed by Alonso Torres
parent 1b70283c3a
commit 04b0cf6330
10 changed files with 333 additions and 77 deletions

View file

@ -84,6 +84,9 @@
:github-auth (ig/ref :app.http.auth/github)
:ldap-auth (ig/ref :app.http.auth/ldap)
:svgparse (ig/ref :app.svgparse/handler)
:error-reporter-handler (ig/ref :app.error-reporter/handler)
:storage (ig/ref :app.storage/storage)}
:app.svgparse/svgc
@ -240,10 +243,14 @@
:app.srepl/server
{:port 6062}
:app.error-reporter/instance
{:uri (:error-report-webhook cfg/config)
:app.error-reporter/reporter
{:uri (:error-report-webhook cfg/config)
:pool (ig/ref :app.db/pool)
:executor (ig/ref :app.worker/executor)}
:app.error-reporter/handler
{:pool (ig/ref :app.db/pool)}
:app.storage/storage
{:pool (ig/ref :app.db/pool)
:executor (ig/ref :app.worker/executor)