diff --git a/package.json b/package.json index b4a56774d..9de768026 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,8 @@ "nyc": { "exclude": [ "test/**/*.*", - "packages/**/*.*" + "packages/**/*.*", + "src/common/loggerLoki.ts" ], "reporter": [ "html", diff --git a/src/server/server.ts b/src/server/server.ts index 4bbb55789..98dd2ce31 100644 --- a/src/server/server.ts +++ b/src/server/server.ts @@ -6,6 +6,8 @@ import routes from "./routes"; import bodyParser from "body-parser"; import config, { etherscanAPIs } from "../config"; import { SourcifyEventManager } from "../common/SourcifyEventManager/SourcifyEventManager"; +import "../common/SourcifyEventManager/listeners/matchStored"; +import "../common/SourcifyEventManager/listeners/logger"; import genericErrorHandler from "./middlewares/GenericErrorHandler"; import notFoundHandler from "./middlewares/NotFoundError"; import useApiLogging from "./middlewares/ApiLogging";