aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/main.cpp b/main.cpp
index 2bdf486..7ae4c1b 100644
--- a/main.cpp
+++ b/main.cpp
@@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
}
int e;
- try {
+// try {
Mac mac = Mac::parseMac(argv[1]);
targetMac = &mac;
@@ -44,13 +44,13 @@ int main(int argc, char *argv[]) {
// adapter->runScan(scan_callback);
e = EXIT_SUCCESS;
- } catch (std::runtime_error ex) {
- W << "std::runtime_error: " << ex.what();
- e = EXIT_FAILURE;
- } catch (std::exception ex) {
- W << "std::exception: " << ex.what();
- e = EXIT_FAILURE;
- }
+// } catch (std::runtime_error ex) {
+// W << "std::runtime_error: " << ex.what();
+// e = EXIT_FAILURE;
+// } catch (std::exception ex) {
+// W << "std::exception: " << ex.what();
+// e = EXIT_FAILURE;
+// }
shutdown();
return e;