Skip to content

Commit cac4bfc

Browse files
committed
changed the ParsingException message
1 parent 008c877 commit cac4bfc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsEUVMInfoItemExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public boolean isEdited() throws ParsingException {
242242
final String str = obj.getString(PUBLISHED_TIME, "");
243243
return str.contains("(") && str.contains(")");
244244
} catch (final Exception e) {
245-
throw new ParsingException(e.getMessage(), e);
245+
throw new ParsingException("Could not check whether the comment is edited", e);
246246
}
247247
}
248248
}

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeCommentsInfoItemExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public boolean isEdited() throws ParsingException {
297297
}
298298
return false;
299299
} catch (final Exception e) {
300-
throw new ParsingException(e.getMessage(), e);
300+
throw new ParsingException("Could not check whether the comment is edited", e);
301301
}
302302
}
303303

0 commit comments

Comments
 (0)