Merge pull request #5762 from ByteHamster/download-error-title
Use feed url in error messages when no title is available
This commit is contained in:
commit
36b6c46d82
|
@ -118,7 +118,7 @@ public class DownloadServiceNotification {
|
|||
continue;
|
||||
}
|
||||
sb.append("• ").append(statuses.get(i).getTitle());
|
||||
sb.append(": ").append(DownloadErrorLabel.from(statuses.get(i).getReason()));
|
||||
sb.append(": ").append(context.getString(DownloadErrorLabel.from(statuses.get(i).getReason())));
|
||||
if (i != statuses.size() - 1) {
|
||||
sb.append("\n");
|
||||
}
|
||||
|
|
|
@ -84,8 +84,8 @@ public class FeedParserTask implements Callable<FeedHandlerResult> {
|
|||
successful, reasonDetailed, request.isInitiatedByUser());
|
||||
return result;
|
||||
} else {
|
||||
downloadStatus = new DownloadStatus(feed, feed.getTitle(), reason, successful,
|
||||
reasonDetailed, request.isInitiatedByUser());
|
||||
downloadStatus = new DownloadStatus(feed, feed.getHumanReadableIdentifier(), reason,
|
||||
successful, reasonDetailed, request.isInitiatedByUser());
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue