Réécriture complète 4.0
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s

This commit is contained in:
2025-06-09 16:29:12 +02:00
parent f2c6388da6
commit ddd617317c
133 changed files with 8092 additions and 4332 deletions

View File

@@ -1,8 +1,6 @@
import chalk from 'chalk'
import { logConsoleError } from "@/utils/console"
export default {
name: 'error',
async execute(error: Error) {
console.log(chalk.red('[Mongoose] An error occured with the database conenction :\n' + error))
}
}
export const name = "error"
export function execute(error: Error) {
logConsoleError('mongoose', 'error', { message: error.message }, error)
}