Skip to content

Commit

Permalink
Add missing translation argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jan 20, 2024
1 parent a3e2570 commit 0ddca5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/reader/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func RefreshFeed(store *storage.Storage, userID, feedID int64, forceRefresh bool

updatedFeed, parseErr := parser.ParseFeed(responseHandler.EffectiveURL(), bytes.NewReader(responseBody))
if parseErr != nil {
localizedError := locale.NewLocalizedErrorWrapper(parseErr, "error.unable_to_parse_feed")
localizedError := locale.NewLocalizedErrorWrapper(parseErr, "error.unable_to_parse_feed", parseErr)

if errors.Is(parseErr, parser.ErrFeedFormatNotDetected) {
localizedError = locale.NewLocalizedErrorWrapper(parseErr, "error.feed_format_not_detected", parseErr)
Expand Down

0 comments on commit 0ddca5c

Please sign in to comment.