Improve collector log messages

* Add path to the query file
* Add Exception class and message whenever and error is raised