summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helpers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers.cpp b/src/helpers.cpp
index a366b283..adf25524 100644
--- a/src/helpers.cpp
+++ b/src/helpers.cpp
@@ -57,6 +57,8 @@ MPD::SongIterator getDatabaseIterator(MPD::Connection &mpd)
mpd.Disconnect();
mpd.Connect();
}
+ else
+ throw;
}
return result;
}