mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-10 07:47:07 +01:00
Add baseline support for -d or --debug flag.
For now, -d just force-emits the stack when there is one. In the future, it can trigger more detailed logging info.
This commit is contained in:
@ -47,8 +47,8 @@ Definition of the HtmlPdfCLIGenerator class.
|
||||
// { [Error: write EPIPE] code: 'EPIPE', errno: 'EPIPE', ... }
|
||||
// { [Error: ENOENT] }
|
||||
throw ( ex.inner && ex.inner.code === 'ENOENT' ) ?
|
||||
{ fluenterror: this.codes.notOnPath, engine: ex.cmd } :
|
||||
{ fluenterror: this.codes.pdfGeneration, inner: ex.inner };
|
||||
{ fluenterror: this.codes.notOnPath, engine: ex.cmd, stack: ex.inner.stack } :
|
||||
{ fluenterror: this.codes.pdfGeneration, inner: ex.inner, stack: ex.inner.stack };
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user