aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 7caa303..0ff7eed 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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();