Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
refactor(emby): remove fatal from library match (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rots authored Dec 21, 2020
1 parent d4a259d commit bcbfda0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions targets/emby/emby.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ func (t target) Scan(scan autoscan.Scan) error {

lib, err := t.getScanLibrary(scanFolder)
if err != nil {
t.log.Error().
t.log.Warn().
Err(err).
Msg("No target libraries found")
return fmt.Errorf("no target libraries found: %v: %w", err, autoscan.ErrFatal)

return nil
}

l := t.log.With().
Expand Down

0 comments on commit bcbfda0

Please sign in to comment.