Skip to content

Commit

Permalink
fix: log the wordpress link resolver instead of exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
syhily committed Nov 17, 2022
1 parent 087c080 commit 1d3ed05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/fetcher/wordpress.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ func (w *wordpressService) size() (int64, error) {
func (w *wordpressService) formats(id int64) (map[file.Format]driver.Share, error) {
links, err := w.resolver(w.client, id)
if err != nil {
return nil, err
log.Fatalf("Error in find downloadable links %v", err)
return map[file.Format]driver.Share{}, nil
}

log.Debugf("Available download links: %v", links)
Expand Down

0 comments on commit 1d3ed05

Please sign in to comment.