Improving logging
Handling deleted comment exception
Fixing formatting