12 lines
396 B
JavaScript
12 lines
396 B
JavaScript
import app from '@adonisjs/core/services/app';
|
|
import { ExceptionHandler } from '@adonisjs/core/http';
|
|
export default class HttpExceptionHandler extends ExceptionHandler {
|
|
debug = !app.inProduction;
|
|
async handle(error, ctx) {
|
|
return super.handle(error, ctx);
|
|
}
|
|
async report(error, ctx) {
|
|
return super.report(error, ctx);
|
|
}
|
|
}
|
|
//# sourceMappingURL=handler.js.map
|