Intro
During investigation of mn2pdf fatal error I have noted that metanorma finishes successfully in case of Fatal: ... errors
Problem
Compiler::compile_file returns an array of fatal errors which is ignored:
|
select_source_files.each { |source| compile(source) } |
Proposed solution
@opoudjis @ronaldtse I would like to get your feedback on proposed solution
Intro
During investigation of
mn2pdffatal error I have noted that metanorma finishes successfully in case ofFatal: ...errorsProblem
Compiler::compile_filereturns an array of fatal errors which is ignored:metanorma-cli/lib/metanorma/cli/site_generator.rb
Line 31 in 7663824
Proposed solution
@opoudjis @ronaldtse I would like to get your feedback on proposed solution