Skip to content

Commit

Permalink
Merge pull request #151 from AthennaIO/develop
Browse files Browse the repository at this point in the history
fix(artisan): register exception handler first
  • Loading branch information
jlenon7 authored Mar 21, 2023
2 parents 8a4ad6b + 57a9b94 commit e5b71f9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Applications/Artisan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e5b71f9

Please sign in to comment.