jamf / scout-public

A tool to aggregate devices across multiple MDM servers
GNU General Public License v3.0
11 stars 3 forks source link

Add Error Logging #31

Closed alex-stout closed 5 years ago

alex-stout commented 5 years ago

This PR resolves #7.

I changed the audit-logger.js file to just be logger.js and handle the error log as well as the access log. This should cover the errors.

For the reports, I am pretty sure that the mongo error object that is returned will have some useful info; however, I don't think that I can get details about the reports if it's throwing an error when trying to get them.