Add logger
Fix [SonarQube] Exception handlers should provide some context and
preserve the original exception
Format per coding standard
Add logger
Fix [SonarQube] Exception handlers should provide some context and
preserve the original exception