CLI invocation output better debugging infor

orm-types
Garrett Mills 3 years ago
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…
Cancel
Save