From 1e1e6f56d24a0cd6a3b270dc794374df6c3c832f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 18 May 2020 14:23:58 -0400 Subject: catching --- src/doc_reform/io_in/read_config_files.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doc_reform/io_in') diff --git a/src/doc_reform/io_in/read_config_files.d b/src/doc_reform/io_in/read_config_files.d index 9180c20..65b5388 100644 --- a/src/doc_reform/io_in/read_config_files.d +++ b/src/doc_reform/io_in/read_config_files.d @@ -89,7 +89,7 @@ webserv: Node yaml_root; try { yaml_root = Loader.fromString(config_file_str).load(); - } catch { + } catch (Throwable) { import std.stdio; writeln("ERROR failed to read config file content, not parsed as yaml, program default used"); conf_filename = "VIRTUAL"; -- cgit v1.2.3