feat: separate token for errors, new url
Code Analysis / SonarQube (push) Failing after 19s
Node.js CI / Lint and Test (push) Successful in 46s

This commit is contained in:
2025-10-07 11:56:39 -07:00
parent 3b5e811a65
commit 2ac9157b0d
3 changed files with 37 additions and 5 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import rawBody from "fastify-raw-body";
import StripeApp from "stripe";
import { applicationData } from "../config/applicationData.js";
import { auth } from "../modules/auth.js";
import { pipeLog } from "../modules/pipeLog.js";
import { pipeError, pipeLog } from "../modules/pipeLog.js";
import { sendMail } from "../modules/sendMail.js";
import { validateWebhook } from "../modules/validateWebhook.js";
import { errorSchema } from "../schemas/errorSchema.js";
@@ -108,7 +108,7 @@ export const instantiateServer = async(): Promise<void> => {
`[ERROR]: ${context} - ${application}`,
`${message}\n\n${stack}`,
);
await pipeLog(
await pipeError(
application,
`${context} - ${message}\n${stack}`,
"error",