Better error handling for network/endpoint does not exist
exception throwed by Kathara NP
#183
Closed
3 tasks done
Labels
Describe the bug
If you reboot the host system while a network scenario is running, after the reboot you get an error from the network plugin when you try to run a device attached to a collision domain that has the same name of ones used in the network scenario deployed before the reboot.
To Reproduce
Steps to reproduce the behavior:
network does not exist
exception from the network plugin.Expected behavior
We need to improve the error handling adding a custom exception that clearly explains the error, which can be solved using the
wipe
command.To Do
We need to improve error handling in the
DockerMachine
class in the following methods:We will throw the
DockerPluginError("Kathara has been left in an inconsistent state! Please run 'kathara wipe'.")
instead of the APIError exception.The text was updated successfully, but these errors were encountered: