From 1e1e6f56d24a0cd6a3b270dc794374df6c3c832f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 18 May 2020 14:23:58 -0400 Subject: catching --- org/in_source_files.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org/in_source_files.org') diff --git a/org/in_source_files.org b/org/in_source_files.org index a4e2812..db433b0 100644 --- a/org/in_source_files.org +++ b/org/in_source_files.org @@ -133,7 +133,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