Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log warning if feed cannot be parsed #2701

Merged
merged 1 commit into from
Jun 23, 2024
Merged

log warning if feed cannot be parsed #2701

merged 1 commit into from
Jun 23, 2024

Conversation

Grotax
Copy link
Member

@Grotax Grotax commented Jun 21, 2024

  • Resolves: no issue

Summary

When feedIo cannot match any parser (rss, atom, ..) to the feed it will throw NoAccurateParserException.
So far our code does not handle this exception instead the exception is logged by nextcloud.

It is more useful to know which url triggered this.

Throwing a ReadErrorException because that is how we track feed fetching errors in the service.

Checklist

@Grotax Grotax marked this pull request as ready for review June 22, 2024 12:29
@Grotax Grotax added the Skip-Changelog No changelog update is required, minor change label Jun 22, 2024
lib/Fetcher/FeedFetcher.php Outdated Show resolved Hide resolved
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
@Grotax Grotax enabled auto-merge (rebase) June 23, 2024 16:26
@Grotax Grotax merged commit b144030 into master Jun 23, 2024
18 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip-Changelog No changelog update is required, minor change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants