mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 16:30:11 +00:00
Fix PDF exception glitch.
This commit is contained in:
parent
6e5a44798b
commit
62c967526f
@ -47,8 +47,12 @@ Definition of the HtmlPdfCLIGenerator class.
|
|||||||
// { [Error: write EPIPE] code: 'EPIPE', errno: 'EPIPE', ... }
|
// { [Error: write EPIPE] code: 'EPIPE', errno: 'EPIPE', ... }
|
||||||
// { [Error: ENOENT] }
|
// { [Error: ENOENT] }
|
||||||
throw ( ex.inner && ex.inner.code === 'ENOENT' ) ?
|
throw ( ex.inner && ex.inner.code === 'ENOENT' ) ?
|
||||||
{ fluenterror: this.codes.notOnPath, engine: ex.cmd, stack: ex.inner.stack } :
|
|
||||||
{ fluenterror: this.codes.pdfGeneration, inner: ex.inner, stack: ex.inner.stack };
|
{ fluenterror: this.codes.notOnPath, inner: ex.inner, engine: ex.cmd,
|
||||||
|
stack: ex.inner && ex.inner.stack } :
|
||||||
|
|
||||||
|
{ fluenterror: this.codes.pdfGeneration, inner: ex.inner,
|
||||||
|
stack: ex.inner && ex.inner.stack };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user