Log parsing exceptions
Clean up exception handling