display file name for which the configuration store was not able to load
Error message is not helpful when a feed has issue during umarshall
Author: Prabhu Joseph
Reviewers: sandeep<sandysmdl@gmail.com>, Pallavi Rao
Closes from PrabhuJoseph/master
@@ -211,7 +211,7 @@ public final class ConfigurationStore implements FalconService {
LOG.info("Restored configuration {}/{}", type, entityName);
entityMap.put(entityName, entity);
} catch (IOException | FalconException e) {
- LOG.error("Unable to restore entity of", file);
+ LOG.error("Unable to restore entity of " + file.getPath().getName(), e);
}
}
});
