mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-21 01:23:45 +08:00
Improved exceptions and commandName usage.
This commit is contained in:
+1
-1
@@ -251,7 +251,7 @@ int Command::execute() const
|
||||
cerr << e.what() << endl << endl;
|
||||
displayHelp();
|
||||
return 1;
|
||||
} catch (ExecutionFailureException &e) {
|
||||
} catch (CommandException &e) {
|
||||
cerr << e.what() << endl;
|
||||
return 1;
|
||||
} catch (MasterDeviceException &e) {
|
||||
|
||||
Reference in New Issue
Block a user