Handle exceptions in log parsing
Add health check