Add some logging for errors
Add some logging for errors

hellsan631/mailin,jjz/mailin,hellsan631/mailin,danucalovj/mailin,craigmcdonald/mailin,jjz/mailin,Flolagale/mailin,josnidhin/mailin,josnidhin/mailin,Flolagale/mailin,danucalovj/mailin,stigok/mailin,craigmcdonald/mailin,stigok/mailin