mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-27 14:23:56 +00:00
added check to check if a role is in the server
added more log output
This commit is contained in:
@@ -33,7 +33,7 @@ public class TemplateSeedDataLoader {
|
||||
try {
|
||||
String templateKey = FilenameUtils.getBaseName(resource.getFilename());
|
||||
String templateContent = IOUtils.toString(resource.getURI(), Charset.defaultCharset());
|
||||
log.debug("Creating template {}", templateKey);
|
||||
log.trace("Creating template {}", templateKey);
|
||||
service.createTemplate(templateKey, templateContent);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user