diff --git a/package-lock.json b/package-lock.json index b6acdb9..4ad671d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,20 +1,20 @@ { "name": "@athenna/core", - "version": "3.1.4", + "version": "3.1.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@athenna/core", - "version": "3.1.4", + "version": "3.1.5", "license": "MIT", "dependencies": { "pretty-repl": "^3.1.1", "semver": "^7.3.8" }, "devDependencies": { - "@athenna/artisan": "^3.3.3", - "@athenna/common": "^3.4.2", + "@athenna/artisan": "^3.3.4", + "@athenna/common": "^3.4.3", "@athenna/config": "^3.2.1", "@athenna/http": "^3.4.2", "@athenna/ioc": "^3.1.6", @@ -93,9 +93,9 @@ "dev": true }, "node_modules/@athenna/artisan": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/@athenna/artisan/-/artisan-3.3.3.tgz", - "integrity": "sha512-2jWFAzjCz7QUsUx6lkakt8fL5bEgTaXN9cAAsACQ92tou3enG6pO5bus/1+5GXVfyS1Bmnv68PdepxHPP1R2mw==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@athenna/artisan/-/artisan-3.3.4.tgz", + "integrity": "sha512-OE9r7AA4gtwuWizPQZ/L1pV+3vwBoEiBQQ3RyQmko9MoNDI8+zjB+Kfi2Dxfgy7tCWm9kvF844KCiYRAazt7zw==", "dev": true, "dependencies": { "chalk-rainbow": "^1.0.0", @@ -449,9 +449,9 @@ } }, "node_modules/@athenna/common": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@athenna/common/-/common-3.4.2.tgz", - "integrity": "sha512-h4bDueHG6v07K7QFrMEFMC81M+gGik190aGyYMYDxqRFm+SP3P2DE+OYRXSe5WFBD0nAcCzhdnIr+cB9fCFG/g==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@athenna/common/-/common-3.4.3.tgz", + "integrity": "sha512-opEJgrNOZNisClQCvrIm8yeHADDbcPjqT82QitKOKOChTNNSk92Mh8MmpHAa7d1ZhOZ28QCofBRtDUPYxUDTEQ==", "dev": true, "dependencies": { "@fastify/formbody": "^7.4.0", @@ -10123,9 +10123,9 @@ "dev": true }, "@athenna/artisan": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/@athenna/artisan/-/artisan-3.3.3.tgz", - "integrity": "sha512-2jWFAzjCz7QUsUx6lkakt8fL5bEgTaXN9cAAsACQ92tou3enG6pO5bus/1+5GXVfyS1Bmnv68PdepxHPP1R2mw==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@athenna/artisan/-/artisan-3.3.4.tgz", + "integrity": "sha512-OE9r7AA4gtwuWizPQZ/L1pV+3vwBoEiBQQ3RyQmko9MoNDI8+zjB+Kfi2Dxfgy7tCWm9kvF844KCiYRAazt7zw==", "dev": true, "requires": { "chalk-rainbow": "^1.0.0", @@ -10355,9 +10355,9 @@ } }, "@athenna/common": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/@athenna/common/-/common-3.4.2.tgz", - "integrity": "sha512-h4bDueHG6v07K7QFrMEFMC81M+gGik190aGyYMYDxqRFm+SP3P2DE+OYRXSe5WFBD0nAcCzhdnIr+cB9fCFG/g==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@athenna/common/-/common-3.4.3.tgz", + "integrity": "sha512-opEJgrNOZNisClQCvrIm8yeHADDbcPjqT82QitKOKOChTNNSk92Mh8MmpHAa7d1ZhOZ28QCofBRtDUPYxUDTEQ==", "dev": true, "requires": { "@fastify/formbody": "^7.4.0", diff --git a/package.json b/package.json index a6144e8..f43e01a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/core", - "version": "3.1.4", + "version": "3.1.5", "description": "The plug and play Node.js framework.", "license": "MIT", "author": "João Lenon ", @@ -62,8 +62,8 @@ "semver": "^7.3.8" }, "devDependencies": { - "@athenna/artisan": "^3.3.3", - "@athenna/common": "^3.4.2", + "@athenna/artisan": "^3.3.4", + "@athenna/common": "^3.4.3", "@athenna/config": "^3.2.1", "@athenna/http": "^3.4.2", "@athenna/ioc": "^3.1.6", diff --git a/src/Applications/Artisan.ts b/src/Applications/Artisan.ts index 56cf96a..d00e485 100644 --- a/src/Applications/Artisan.ts +++ b/src/Applications/Artisan.ts @@ -59,9 +59,9 @@ export class Artisan { const kernel = new Kernel() + await kernel.registerExceptionHandler(options.exceptionHandlerPath) await kernel.registerCommands(argv) await kernel.registerRouteCommands(options.routePath) - await kernel.registerExceptionHandler(options.exceptionHandlerPath) if (Config.is('rc.bootLogs', true)) { Log.channelOrVanilla('application').success(