diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-10-10 20:32:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 20:32:18 +0300 |
commit | 51e6ce2863daa4ab430771ff38983bf8396dcc03 (patch) | |
tree | 751f144240f1a65788fa27577c4d751fe871c542 | |
parent | ebf433e4ab52f989dc75e3ec10041581206ed671 (diff) |
internal log error, when passing NULL dictionary (#13803)
* fixes internal log error, when passing NULL dictionary
* item is needed - fatal provides enough info
-rw-r--r-- | libnetdata/dictionary/dictionary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/dictionary/dictionary.c b/libnetdata/dictionary/dictionary.c index 951e9d9d2b..663750a242 100644 --- a/libnetdata/dictionary/dictionary.c +++ b/libnetdata/dictionary/dictionary.c @@ -1627,7 +1627,7 @@ static inline void api_internal_check_with_trace(DICTIONARY *dict, DICTIONARY_IT item->dict->creation_function, item->dict->creation_line, item->dict->creation_file); - fatal("DICTIONARY: attempted to %s() but item is NULL", function); + fatal("DICTIONARY: attempted to %s() but dict is NULL", function); } if(!allow_null_item && !item) { |