activityhistory / traces

Traces: Activity Tracker
GNU General Public License v3.0
20 stars 2 forks source link

Null values in log files causes parse loop to fail #10

Open rmahmad opened 8 years ago

rmahmad commented 8 years ago

Steps to recreate: Add any valid json line to a log file with a null value. The parse will fail, and parsing that should happen after the failure will not occur.

Potential remedy: use json.dumps/json.loads when writing/reading to the log files. Larger issue regarding the entire loop failing still exists, though. So the try/except patterns should be looked at.