From 49195c155334aec39d7264a3e98afabee3b6d156 Mon Sep 17 00:00:00 2001 From: zawz Date: Mon, 8 Jul 2019 06:03:32 +0200 Subject: [PATCH] Unsupported signals do not throw exceptions anymore --- src/device.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/device.cpp b/src/device.cpp index a40b163..26280d0 100644 --- a/src/device.cpp +++ b/src/device.cpp @@ -292,7 +292,8 @@ void Device::run_signal(char* buff) type='p'; else { - throw std::runtime_error("Unknown MIDI signal:\n" + std::string(buff)); + // throw std::runtime_error("Unknown MIDI signal:\n" + std::string(buff)); + printf("Unsupported signal, ignoring\n"); return; }