rsanchez
2017-06-30 fae5dda8fc235aff2f30301ea06d3d6eb4783380
securis/src/main/java/net/curisit/securis/services/ApiResource.java
....@@ -177,7 +177,7 @@
177177 LOG.info("Renew license: {}", previousLic);
178178
179179 if (previousLic.getExpirationDate().after(DateUtils.addMonths(new Date(), 1))) {
180
- throw new SeCurisServiceException(ErrorCodes.LICENSE_NOT_READY_FOR_RENEW, "The license is still valid, not ready for renew");
180
+ throw new SeCurisServiceException(ErrorCodes.UNNECESSARY_RENEW, "The license is still valid, not ready for renew");
181181 }
182182
183183 // EntityManager em = emProvider.get();