diff options
author | 2024-02-10 18:19:14 -0700 | |
---|---|---|
committer | 2024-02-13 06:59:44 +0530 | |
commit | 7584d2d7a7110aef0331ebfa178b2295842c59fa (patch) | |
tree | 900cd71237e6231b57936fcce77ff229cd459041 /app/Exceptions/Handler.ts | |
parent | upgrade recipes submodule (diff) | |
download | ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.gz ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.zst ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.zip |
refactor: project maintenance
- work in progress
Diffstat (limited to 'app/Exceptions/Handler.ts')
-rw-r--r-- | app/Exceptions/Handler.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Exceptions/Handler.ts b/app/Exceptions/Handler.ts index 35c77d0..b13126d 100644 --- a/app/Exceptions/Handler.ts +++ b/app/Exceptions/Handler.ts | |||
@@ -13,11 +13,11 @@ | |||
13 | | | 13 | | |
14 | */ | 14 | */ |
15 | 15 | ||
16 | import Logger from '@ioc:Adonis/Core/Logger'; | 16 | import logger from '@adonisjs/core/services/logger' |
17 | import HttpExceptionHandler from '@ioc:Adonis/Core/HttpExceptionHandler'; | 17 | import { ExceptionHandler as AdonisExceptionHandler } from '@adonisjs/core/http' |
18 | 18 | ||
19 | export default class ExceptionHandler extends HttpExceptionHandler { | 19 | export default class ExceptionHandler extends AdonisExceptionHandler { |
20 | constructor() { | 20 | constructor() { |
21 | super(Logger); | 21 | super(logger) |
22 | } | 22 | } |
23 | } | 23 | } |