File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -410,8 +410,11 @@ void rrddim_query_finalize(struct storage_engine_query_handle *handle) {
410410#ifdef NETDATA_INTERNAL_CHECKS
411411 struct mem_query_handle * h = (struct mem_query_handle * )handle -> handle ;
412412 struct mem_metric_handle * mh = (struct mem_metric_handle * )h -> db_metric_handle ;
413- if (!rrddim_query_is_finished (handle ))
414- error ("QUERY: query for chart '%s' dimension '%s' has been stopped unfinished" , rrdset_id (mh -> rd -> rrdset ), rrddim_name (mh -> rd ));
413+
414+ internal_error (!rrddim_query_is_finished (handle ),
415+ "QUERY: query for chart '%s' dimension '%s' has been stopped unfinished" ,
416+ rrdset_id (mh -> rd -> rrdset ), rrddim_name (mh -> rd ));
417+
415418#endif
416419 freez (handle -> handle );
417420 __atomic_sub_fetch (& rrddim_db_memory_size , sizeof (struct mem_query_handle ), __ATOMIC_RELAXED );
You can’t perform that action at this time.
0 commit comments