diff options
author | Jay Doane <jaydoane@apache.org> | 2021-04-19 21:56:26 -0700 |
---|---|---|
committer | Jay Doane <jaydoane@apache.org> | 2021-04-20 00:12:57 -0700 |
commit | 1199069eaec49217e19f22353b7d012c8f91f6b9 (patch) | |
tree | 8e694ba94a21a3115a13f7560d751ef5d69654cf | |
parent | 5cbb4da3bb935263c4fdb2dd78a8f5dcb54273a8 (diff) | |
download | couchdb-1199069eaec49217e19f22353b7d012c8f91f6b9.tar.gz |
Crash if config app fails to start
-rw-r--r-- | src/weatherreport/src/weatherreport_config.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weatherreport/src/weatherreport_config.erl b/src/weatherreport/src/weatherreport_config.erl index 363233022..0538365be 100644 --- a/src/weatherreport/src/weatherreport_config.erl +++ b/src/weatherreport/src/weatherreport_config.erl @@ -136,7 +136,7 @@ load_app_config() -> filename:join(Etc, "local.ini") ], weatherreport_log:log(node(), debug, "Reading config from files: ~p", [IniFiles]), - config:start_link(IniFiles), + {ok, _Pid} = config:start_link(IniFiles), weatherreport_log:log(node(), debug, "Local node config: ~p~n", [config:all()]). load_vm_args() -> |