diff options
Diffstat (limited to 'org/out_src_pod.org')
-rw-r--r-- | org/out_src_pod.org | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org/out_src_pod.org b/org/out_src_pod.org index 071f1d7..3fc6d82 100644 --- a/org/out_src_pod.org +++ b/org/out_src_pod.org @@ -232,7 +232,12 @@ auto fn_pod = pths_pod.pod_filename(doc_matters.src.filename).zpod; string _pm = "doc:\n filename: " ~ doc_matters.src.filename ~ "\n language: " ~ doc_matters.pod.manifest_list_of_languages.to!string ~ "\n"; if (doc_matters.opt.action.debug_do && doc_matters.opt.action.verbose) { - _pmy = Loader.fromString(_pm).load(); + try { + _pmy = Loader.fromString(_pm).load(); + } catch (ErrnoException ex) { + } catch (Throwable) { + writeln("ERROR failed to read config file content, not parsed as yaml"); + } writeln("pod filename: ", _pmy["doc"]["filename"].get!string); writeln("pod languages: ", doc_matters.pod.manifest_list_of_languages.to!string); writeln("pod languages: ", doc_matters.src.language); |