Removed stack traces and logged exceptions as requested.