diff --git a/src/verbs/convert.js b/src/verbs/convert.js index 1cb968b..f715298 100644 --- a/src/verbs/convert.js +++ b/src/verbs/convert.js @@ -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'