CLI invocation output better debugging infor
This commit is contained in:
parent
c078d695a8
commit
b4a9057e2b
@ -172,6 +172,7 @@ export abstract class Directive extends AppClass {
|
|||||||
} catch (e: unknown) {
|
} catch (e: unknown) {
|
||||||
if ( e instanceof Error ) {
|
if ( e instanceof Error ) {
|
||||||
this.nativeOutput(e.message)
|
this.nativeOutput(e.message)
|
||||||
|
this.error(e)
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( e instanceof OptionValidationError ) {
|
if ( e instanceof OptionValidationError ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user