Don't print stack trace - use logger.error(msg, mex) instead.