CLI invocation output better debugging infor

This commit is contained in:
Garrett Mills 2021-10-19 10:26:32 -05:00
parent c078d695a8
commit b4a9057e2b

View File

@ -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 ) {