Commit 8f13e6ab authored by JorgeEcheva26's avatar JorgeEcheva26
Browse files

improved message 404

parent 3163cdc5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ class service_discoverer:
        except requests.exceptions.HTTPError as http_err:
            if response.status_code == 404:
                self.logger.warning(
                    "Received 404 error, redirecting to register security service")
                    "Received 404 exception from target CAPIF. This means it is the first time this CAPIF user is getting the Oauth/JWT token, redirecting to register security service in CAPIF. The process continues correctly.")
                self.__register_security_service()
            else:
                self.logger.error("HTTP error occurred: %s", str(http_err))