From a80cd676b41d9bdf027bb5ee170d2b4282a118b3 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 25 Aug 2021 15:37:17 -0400 Subject: [PATCH] Common: Remove unused CredentialsError --- monkey/common/utils/exceptions.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 """