Updated packages. Changed date picker package to Day.JS and applied it across whole app.

This commit is contained in:
Eric Gullickson
2025-12-18 16:07:30 -06:00
parent 843825a956
commit 0e85cf48c3
17 changed files with 197 additions and 135 deletions

View File

@@ -2,12 +2,12 @@
* @ai-summary Fastify global error handling plugin
* @ai-context Handles uncaught errors with structured logging
*/
import { FastifyPluginAsync } from 'fastify';
import { FastifyPluginAsync, FastifyError } from 'fastify';
import fp from 'fastify-plugin';
import { logger } from '../logging/logger';
const errorPlugin: FastifyPluginAsync = async (fastify) => {
fastify.setErrorHandler((error, request, reply) => {
fastify.setErrorHandler((error: FastifyError, request, reply) => {
logger.error('Unhandled error', {
error: error.message,
stack: error.stack,