Bug fix : filter resource
This commit is contained in:
parent
c01b42d7e7
commit
2c3a8d1b13
|
@ -74,7 +74,7 @@ public class Ckan2ZenodoImpl implements Ckan2Zenodo{
|
|||
public List<CkanResource> filterResources(CkanItemDescriptor desc) throws TransformationException {
|
||||
Translator tr=null;
|
||||
try{
|
||||
new TransformerManager().getByProfile(desc.getProfile());
|
||||
tr=new TransformerManager().getByProfile(desc.getProfile());
|
||||
}catch(ConfigurationException e) {
|
||||
log.warn("Forcing default resource filtering. ",e);
|
||||
tr=new Translator();
|
||||
|
|
Loading…
Reference in New Issue