summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2023-01-25 19:04:07 +0000
committerGitHub <noreply@github.com>2023-01-25 19:04:07 +0000
commit3e3ff4bee83363dca7cfb838baf1cf316960ed1b (patch)
treec62e0f721eb67856aeb7043ba4326af38159c850 /web
parentbf38a22f323be8fa2b35bf782068d903064530ed (diff)
Add Collector log (#14309)
Diffstat (limited to 'web')
-rw-r--r--web/api/formatters/charts2json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/formatters/charts2json.c b/web/api/formatters/charts2json.c
index 3ab579880a..61a9ecf2f2 100644
--- a/web/api/formatters/charts2json.c
+++ b/web/api/formatters/charts2json.c
@@ -10,7 +10,7 @@ const char* get_release_channel() {
if (use_stable == -1) {
char filename[FILENAME_MAX + 1];
snprintfz(filename, FILENAME_MAX, "%s/.environment", netdata_configured_user_config_dir);
- procfile *ff = procfile_open(filename, "=", PROCFILE_FLAG_DEFAULT);
+ procfile *ff = procfile_open(filename, "=", PROCFILE_FLAG_ERROR_ON_ERROR_LOG);
if (ff) {
procfile_set_quotes(ff, "'\"");
ff = procfile_readall(ff);