diff --git a/src/library/filescanner_playlist.c b/src/library/filescanner_playlist.c index bce5b111..deaf02ab 100644 --- a/src/library/filescanner_playlist.c +++ b/src/library/filescanner_playlist.c @@ -187,8 +187,8 @@ process_nested_playlist(int parent_id, const char *path) deref = realpath(path, NULL); if (!deref) { - DPRINTF(E_LOG, L_SCAN, "Could not dereference path '%s'\n", path); - goto error; + DPRINTF(E_LOG, L_SCAN, "Could not dereference path '%s': %s\n", path, strerror(errno)); + return -1; } // Do we already have the playlist in the database?