securis/src/main/java/net/curisit/securis/services/ApiResource.java
.. .. @@ -177,7 +177,7 @@ 177 177 LOG.info("Renew license: {}", previousLic); 178 178 179 179 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");181 181 } 182 182 183 183 // EntityManager em = emProvider.get();