diff --git a/monkey/common/utils/exceptions.py b/monkey/common/utils/exceptions.py index 4c66868b2..df40f3007 100644 --- a/monkey/common/utils/exceptions.py +++ b/monkey/common/utils/exceptions.py @@ -6,11 +6,7 @@ class FailedExploitationError(Exception): """ Raise when exploiter fails instead of returning False """ -class CredentialsError(Exception): - """ Raise when credentials are wrong""" - - -class InvalidRegistrationCredentialsError(CredentialsError): +class InvalidRegistrationCredentialsError(Exception): """ Raise when server config file changed and island needs to restart """