Skip to content

Commit fa22a12

Browse files
committed
Fix typo in Exception message
1 parent 607c8fe commit fa22a12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public List<String> suggestionList(final String query) throws IOException, Extra
6767
final String contentTypeHeader = response.getHeader("Content-Type");
6868
if (isNullOrEmpty(contentTypeHeader) || !contentTypeHeader.contains("application/json")) {
6969
throw new ExtractionException("Invalid response type (got \"" + contentTypeHeader
70-
+ "\", excepted a JSON response) (response code "
70+
+ "\", expected a JSON response) (response code "
7171
+ response.responseCode() + ")");
7272
}
7373

0 commit comments

Comments
 (0)