We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0daa1fe commit 4c2923dCopy full SHA for 4c2923d
1 file changed
src/ignite/Ignite.ts
@@ -90,7 +90,7 @@ export class Ignite extends Macroable {
90
exitOnError: true,
91
loadConfigSafe: true,
92
athennaRcPath: './.athennarc.json',
93
- uncaughtExceptionHandler: this.handleError
+ uncaughtExceptionHandler: this.handleUncaughtError
94
})
95
96
this.setUncaughtExceptionHandler()
@@ -562,7 +562,7 @@ export class Ignite extends Macroable {
562
if (!Is.Exception(error)) {
563
error = error.toAthennaException()
564
}
565
-
+
566
error.details.push({ isUncaughtError: true })
567
568
if (Config.is('app.logger.prettifyException', true)) {
@@ -575,7 +575,7 @@ export class Ignite extends Macroable {
575
576
return this.safeExit(1)
577
578
579
/**
580
* Exit the application only if the exitOnError option is true.
581
*/
0 commit comments