Fixed exception message
This commit is contained in:
parent
59e193f015
commit
e2613026dc
|
@ -177,7 +177,7 @@ public class ConcessioniMongoManager extends MongoManager{
|
||||||
concessione = removeContent(concessione);
|
concessione = removeContent(concessione);
|
||||||
|
|
||||||
if (!concessione.getReport().getStatus().equals(ValidationStatus.PASSED)&&!force)
|
if (!concessione.getReport().getStatus().equals(ValidationStatus.PASSED)&&!force)
|
||||||
throw new DeletionException("Unable to unpublish "+concessione.getMongo_id());
|
throw new DeletionException("Unable to clean "+concessione.getMongo_id());
|
||||||
|
|
||||||
delete(asId(id), collectionName);
|
delete(asId(id), collectionName);
|
||||||
}catch(DeletionException e) {
|
}catch(DeletionException e) {
|
||||||
|
|
Loading…
Reference in New Issue