Yelp/osxcollector

"plist is wrong type" error when the History.plist file is empty

jjsendor opened this issue · 1 comments

OSXCollector produces an error when the History.plist (osxcollector-section: safari, osxcollector-subsection: history) file is empty:

[ERROR] plist is wrong type. plist_path[/Users/<user>/Library/Safari/History.plist] type[str] -
{'osxcollector_incident_id': 'reefer-madness', 'osxcollector_username': '<user>', 'osxcollector_subsection': 'history', 'osxcollector_section': 'safari'}

Looking at osxcollector.py the case is already captured. We may just need to consider to lower the logging level of this case as it appears.