diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,8 +44,8 @@ int main(int argc, char *argv[]) { // adapter->runScan(scan_callback); e = EXIT_SUCCESS; - } catch (BluetoothException ex) { - W << "BluetoothException: " << ex.what(); + } catch (std::runtime_error ex) { + W << "std::runtime_error: " << ex.what(); e = EXIT_FAILURE; } catch (std::exception ex) { W << "std::exception: " << ex.what(); |