termux-packages/packages/mpd/uncaught_exception.patch

21 lines
464 B
Diff

diff --git a/src/input/Error.cxx b/src/input/Error.cxx
index 3db1f26f1..dfa43093b 100644
--- a/src/input/Error.cxx
+++ b/src/input/Error.cxx
@@ -30,12 +30,15 @@
#include <nfsc/libnfs-raw-nfs.h>
#endif
+#include <iostream>
+
bool
IsFileNotFound(std::exception_ptr ep)
{
try {
std::rethrow_exception(ep);
} catch (const std::system_error &e) {
+ std::cout << "";
return IsFileNotFound(e);
#ifdef ENABLE_CURL
} catch (const HttpStatusError &e) {