move the log message
This commit is contained in:
parent
c32f6329d2
commit
428d944e4d
@ -403,12 +403,8 @@ public abstract class ProjectManager {
|
|||||||
return;
|
return;
|
||||||
userMetadataPreference = new JSONArray(userMeta);
|
userMetadataPreference = new JSONArray(userMeta);
|
||||||
} catch (JSONException e1) {
|
} catch (JSONException e1) {
|
||||||
logger.error(ExceptionUtils.getFullStackTrace(e1));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (userMetadataPreference == null) {
|
|
||||||
logger.warn("wrong definition of userMetadata format. Please use form [{\"name\": \"client name\", \"display\":true}, {\"name\": \"progress\", \"display\":false}]");
|
logger.warn("wrong definition of userMetadata format. Please use form [{\"name\": \"client name\", \"display\":true}, {\"name\": \"progress\", \"display\":false}]");
|
||||||
return;
|
logger.error(ExceptionUtils.getFullStackTrace(e1));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int index = 0; index < userMetadataPreference.length(); index++) {
|
for (int index = 0; index < userMetadataPreference.length(); index++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user