Skip to content

Commit 96c0c86

Browse files
committed
fix: exception stub to use correct import path for Exception class
1 parent d378e9f commit 96c0c86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/exception.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Exception } from '@adonisjs/core'
1+
import { Exception } from '@adonisjs/core/build/standalone'
22

33
/*
44
|--------------------------------------------------------------------------

templates/self-handle-exception.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Exception } from '@adonisjs/core'
1+
import { Exception } from '@adonisjs/core/build/standalone'
22
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
33

44
/*

0 commit comments

Comments
 (0)