feat: implement error handling and logging in server hooks to capture and notify on 404 and 500 errors, enhancing server reliability and monitoring

This commit is contained in:
2025-12-08 11:52:27 -03:00
parent e1f1af7530
commit fdfbd8b051
31 changed files with 7305 additions and 932 deletions

View File

@@ -35,6 +35,7 @@ import type * as documentos from "../documentos.js";
import type * as email from "../email.js";
import type * as empresas from "../empresas.js";
import type * as enderecosMarcacao from "../enderecosMarcacao.js";
import type * as errosServidor from "../errosServidor.js";
import type * as ferias from "../ferias.js";
import type * as flows from "../flows.js";
import type * as funcionarioEnderecos from "../funcionarioEnderecos.js";
@@ -123,6 +124,7 @@ declare const fullApi: ApiFromModules<{
email: typeof email;
empresas: typeof empresas;
enderecosMarcacao: typeof enderecosMarcacao;
errosServidor: typeof errosServidor;
ferias: typeof ferias;
flows: typeof flows;
funcionarioEnderecos: typeof funcionarioEnderecos;