Replaced hard exception with LOG.error.