Added logging of exceptions
Fix logs
Updated analytics