diff --git a/backend/src/app/http.clj b/backend/src/app/http.clj index aeffb8020..911639cb5 100644 --- a/backend/src/app/http.clj +++ b/backend/src/app/http.clj @@ -120,7 +120,7 @@ ["/by-file-media-id/:id/thumbnail" {:get #(assets/file-thumbnails-handler storage %)}]] ["/dbg" - ["/error-by-id/:id" {:get (:error-reporter-handler cfg)}]] + ["/error-by-id/:id" {:get (:error-report-handler cfg)}]] ["/api" {:middleware [[middleware/format-response-body] [middleware/parse-request-body] diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index 2518092b3..2523bd030 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -84,10 +84,8 @@ :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)} + :storage (ig/ref :app.storage/storage) + :error-report-handler (ig/ref :app.error-reporter/handler)} :app.svgparse/svgc {:metrics (ig/ref :app.metrics/metrics)}