Language: TypeScript
Label: safe
CWE: NVD-CWE-noinfo \u2014 

Code:
            release: getBridgeVersion(),
            serverName: config.bridge.domain,
            includeLocalVariables: true,
        });
        log.info("Sentry reporting enabled");
    }

    if (config.generic?.allowJsTransformationFunctions) {
        await GenericHookConnection.initialiseQuickJS();
    }

    const botUsersManager = new BotUsersManager(config, appservice);

    const bridgeApp = new Bridge(config, listener, appservice, storage, botUsersManager);

    process.once("SIGTERM", () => {
        log.error("Got SIGTERM");
        listener.stop();
        bridgeApp.stop();
        // Don't care to await this, as the process is about to end
        storage.disconnect?.();
    });