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

Commit bcbfda0

Browse files
authored
refactor(emby): remove fatal from library match (#73)
1 parent d4a259d commit bcbfda0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

targets/emby/emby.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ func (t target) Scan(scan autoscan.Scan) error {
6868

6969
lib, err := t.getScanLibrary(scanFolder)
7070
if err != nil {
71-
t.log.Error().
71+
t.log.Warn().
7272
Err(err).
7373
Msg("No target libraries found")
74-
return fmt.Errorf("no target libraries found: %v: %w", err, autoscan.ErrFatal)
74+
75+
return nil
7576
}
7677

7778
l := t.log.With().

0 commit comments

Comments
 (0)