Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ private void loadVoteValues() {
}
if (!isValidSurveyToolVote(
theSubmitter, xpath)) { // Make sure it is a visible path
SurveyLog.warnOnce(logger, "Ignoring invalid vote for path " + xpath);
continue;
}
try {
Expand Down Expand Up @@ -1821,7 +1822,7 @@ public final PathHeader getPathHeader(String xpath) {
try {
return getPathHeaderFactory().fromPath(xpath);
} catch (Throwable t) {
SurveyLog.warnOnce(logger, "PH for path " + xpath + t);
SurveyLog.warnOnce(logger, "PH for path " + xpath + t + "\nCaused by: " + t.getCause());
return null;
}
}
Expand Down
10 changes: 7 additions & 3 deletions tools/cldr-code/src/main/java/org/unicode/cldr/util/Emoji.java
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,9 @@ public static String getMinorCategory(String emoji) {
throw new InternalCldrException(
"No minor category (aka subgroup) found for "
+ emoji
+ ". Update emoji-test.txt to latest, and adjust PathHeader.. functionMap.put(\"minor\", ...");
+ " (U+"
+ Utility.hex(emoji)
+ "). Update emoji-test.txt to latest, and adjust PathHeader.. functionMap.put(\"minor\", ...");
}
}
return minorCat;
Expand Down Expand Up @@ -438,9 +440,11 @@ public static String getMajorCategory(String emoji) {
majorCat = "Symbols";
} else {
throw new InternalCldrException(
"No minor category (aka subgroup) found for "
"No major category (aka group) found for "
+ emoji
+ ". Update emoji-test.txt to latest, and adjust PathHeader.. functionMap.put(\"major\", ...");
+ " (U+"
+ Utility.hex(emoji)
+ "). Update emoji-test.txt to latest, and adjust PathHeader.. functionMap.put(\"major\", ...");
}
}
return majorCat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ public PathHeader fromPath(final String path, List<String> failures) {
return result;
} catch (Exception e) {
throw new IllegalArgumentException(
"Probably mismatch in Page/Section enum, or too few capturing groups in regex for "
"Possible mismatch in Page/Section enum, or too few capturing groups in regex for "
+ path,
e);
}
Expand Down
Loading