Commit f9bc7833 authored by Federico Sismondi's avatar Federico Sismondi

Fix better logging on error on data frame from collected data

parent 33113304
......@@ -411,7 +411,8 @@ def _update_historical_db_from_local_raw_files():
)
else:
print("(!) WARNING device values are not what was expected, dev1 -> 5 values, dev2 -> 1 value")
print("(!) WARNING device values are not what was expected in file {}, "
"expected either 1 or 5 values from device, but got {}".format(json_file,len(values)))
continue
data.append(entity)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment