Logger.error() will print full stack trace if a message is provided.