From 60d5440dd3514e71b87948ff5ed30ee38445b8a5 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 15 Feb 2015 11:01:46 +0100 Subject: o wip. Test cases! --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') 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(); -- cgit v1.2.3