1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-12-22 21:37:21 +00:00

Swallow inline failures in CONVERT.

This commit is contained in:
hacksalot 2016-01-18 19:21:25 -05:00
parent 181419ae28
commit 23cd52885b

View File

@ -61,9 +61,15 @@ Implementation of the 'convert' verb for HackMyResume.
// Load the resume
var rinfo = ResumeFactory.loadOne( src, {
format: null, objectify: true, throw: true
format: null, objectify: true, throw: false
});
// If a load error occurs, report it and move on to the next file (if any)
if( rinfo.fluenterror ) {
this.err( rinfo.fluenterror, rinfo );
return;
}
var s = rinfo.rez
, srcFmt = ((s.basics && s.basics.imp) || s.imp).orgFormat === 'JRS' ?
'JRS' : 'FRESH'