putting in 2 possible ways to more info on the exception
Merge pull request #1 from Unified/feature/add_more_logging

putting in 2 possible ways to more info on the exception