[NEXUS-5850] Log mapped exception/message (and stack trace on DEBUG)

https://issues.sonatype.org/browse/NEXUS-5850